RFC: possible issue with kqueue

John-Mark Gurney jmg at funkthat.com
Tue Mar 30 18:14:12 UTC 2021


Emanuel Haupt wrote this message on Sat, Mar 27, 2021 at 13:10 +0100:
> Can someone familiar with kqueue please comment on:
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254024

Done:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254024#c11

Looks like the user wasn't force unmounting the FS.  There really
isn't any problem w/ kqueue, as a normal unmount is expected to be
refused while files are open.

I guess there COULD be a new flag added to file descriptors that
flag them as being able to be closed upon unmount.  Then when an
unmount happens and only these flagged files remain, they are closed
allowing the fs to unmount.  But this is a new feature and independent
of kqueue.

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-hackers mailing list