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 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?

Cheers,

Dave.
-- 
Dave Chinner
dchinner@xxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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