Re: [patch 00/13] vfs: add helpers to check r/o bind mounts
From: Al Viro
Date: Thu Apr 24 2008 - 13:31:04 EST
On Thu, Apr 24, 2008 at 01:25:58PM -0400, Erez Zadok wrote:
> Al, any near-term plans for sb-level "want write" locking as we discussed
> briefly at LSF? Being able to do so for copyup in unionfs will hopefully
> allow me to prevent concurrent topology changes.
That's pretty close to the top.
> the two directories that need locking. This rename-locking protocol appears
> to be a special case of the sb-level "want write" idea, right?
Not really - that one doesn't provide any exclusion between writers and
that's what we want from rename/rename.
Take a look at Documentation/filesystems/directory-locking for details
of locking scheme...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/