[Bug 254024] devel/gvfs: gvfsd-trash latches to zfs volumes
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Mar 22 09:58:44 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254024
--- Comment #8 from Damjan Jovanovic <damjan.jov at gmail.com> ---
glib's system calls:
91540: openat(AT_FDCWD,"/mountpoint/.Trash-1003",O_RDONLY,00) = 11 (0xb)
kevent(10,{
11,EVFILT_VNODE,EV_ADD|EV_CLEAR,NOTE_DELETE|NOTE_WRITE|NOTE_EXTEND|NOTE_ATTRIB|NOTE_RENAME|NOTE_REVOKE|NOTE_CLOSE_WRITE,0,0x801373400
},1,0x0,0,0x0) = 0 (0x0)
Even the sample code in the kqueue(2) man page, when monitoring the mountpoint,
is enough to stop umount.
According to the man page, you monitor a directory by registering its file
descriptor. Closing the file descriptor stops monitoring. Keeping the file
descriptor open stops unmounting. NOTE_REVOKE is meant to notify you of
unmounts, but it doesn't, and still stops unmounting.
It's looking like a kernel bug. Can some kernel developer more familiar with
kqueue please comment?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-gnome
mailing list