> > +   vfs_check_frozen(inode->i_sb, SB_FREEZE_WRITE);
> 
> hm, I didn't pay much attention to this stuff.  Shouldn't the direct-io
> code be waiting as well?  Are all paths which can write to the bdev supposed
> to be blocked?  kjournald?

This should block new data writers.  New metadata writes need to be
blocked in the individual filesystem, and only when the state is set
to SB_FREEZE_TRANS (a few steps later in freeze_bdev).

Currently only XFS deals with that part.

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to