On Mon, Sep 19, 2005 at 09:03:36PM -0700, Linus Torvalds wrote: > One possibility is to mark the dentry deleted in d_flags. That would mean > something like this (against the just-pushed-put v2.6.14-rc2, which has > my previous hack). > > Untested. Al? Uhh... I still don't understand which behaviour do you want. * removal of this link, postponed to indefinite future (until we do not have any users of that dentry) [ new behaviour ] * moment when the last link is gone _and_ nobody uses any dentries pointing to object, with information taken from the last one still in use [ old behaviour ] * actual destruction of file [ but we won't have any names to report ] * removal of this link, at the moment when it stops being accessible [ none of the above, better done from vfs_...() ] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patch] stop inotify from sending random DELETE_SELF event under load
- From: John McCutchan <[email protected]>
- Re: [patch] stop inotify from sending random DELETE_SELF event under load
- From: Linus Torvalds <[email protected]>
- Re: [patch] stop inotify from sending random DELETE_SELF event under load
- References:
- [patch] stop inotify from sending random DELETE_SELF event under load
- From: John McCutchan <[email protected]>
- Re: [patch] stop inotify from sending random DELETE_SELF event under load
- From: Linus Torvalds <[email protected]>
- Re: [patch] stop inotify from sending random DELETE_SELF event under load
- From: John McCutchan <[email protected]>
- Re: [patch] stop inotify from sending random DELETE_SELF event under load
- From: Linus Torvalds <[email protected]>
- Re: [patch] stop inotify from sending random DELETE_SELF event under load
- From: John McCutchan <[email protected]>
- Re: [patch] stop inotify from sending random DELETE_SELF event under load
- From: Linus Torvalds <[email protected]>
- [patch] stop inotify from sending random DELETE_SELF event under load
- Prev by Date: Re: I request inclusion of reiser4 in the mainline kernel
- Next by Date: Re: [patch] stop inotify from sending random DELETE_SELF event under load
- Previous by thread: Re: [patch] stop inotify from sending random DELETE_SELF event under load
- Next by thread: Re: [patch] stop inotify from sending random DELETE_SELF event under load
- Index(es):