NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/51129: Disconnecting USB SD card without umount causes file operations to hang



The following reply was made to PR kern/51129; it has been noted by GNATS.

From: coypu%SDF.ORG@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/51129: Disconnecting USB SD card without umount causes file
 operations to hang
Date: Tue, 10 May 2016 07:17:51 +0000

 Bonus:
 
 if you umount /new, you can now execute the following:
 mv /new /new/a/b
 
 whereas normally it would say device busy.
 
 if you run umount -f instead, this operation will also hang.
 
 normal umount is stuck in biowait
 umount -f is stuck in vcache
 mv after umount -f is stuck in vcache
 
 Maybe bonus:
 
 I could lock my system, not sure which scenario is needed because
 I can't always make it happen (placing a lock on /, can't execute
 new programs).
 


Home | Main Index | Thread Index | Old Index