Re: [PATCH 14/27] fs: Add freezing handling to mnt_want_write() / mnt_drop_write()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed 06-06-12 18:04:57, Dave Chinner wrote:
> On Sat, Jun 02, 2012 at 12:30:28AM +0200, Jan Kara wrote:
> > Most of places where we want freeze protection coincides with the places where
> > we also have remount-ro protection. So make mnt_want_write() and
> > mnt_drop_write() (and their _file alternative) prevent freezing as well.
> > For the few cases that are really interested only in remount-ro protection
> > provide new function variants.
> > 
> > BugLink: https://bugs.launchpad.net/bugs/897421
> > Tested-by: Kamal Mostafa <kamal@xxxxxxxxxxxxx>
> > Tested-by: Peter M. Petrakis <peter.petrakis@xxxxxxxxxxxxx>
> > Tested-by: Dann Frazier <dann.frazier@xxxxxxxxxxxxx>
> > Tested-by: Massimo Morana <massimo.morana@xxxxxxxxxxxxx>
> > Signed-off-by: Jan Kara <jack@xxxxxxx>
> > ---
> >  fs/file_table.c       |    2 +-
> >  fs/inode.c            |    4 +-
> >  fs/namei.c            |   16 +++++++-
> 
> The changes to the fs/inode.c and fs/namei.c file don't apply.  the
> fs/inode.c fixup is trivial, but do_last() has been significantly
> modified since this patch was created and it's not exactly obvious
> to me how to fix this. Can you rebase the series on, say, 3.5-rc1,
> Jan?
  Yes, there were some collisions with vfs tree which was merged at the
last moment. I've rebased the patches on top of Linus' tree as of today
(eea5b551). The result is attached.

								Honza
-- 
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR

Attachment: freezing-fixes.tar.gz
Description: application/compressed-tar


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux