Re: [PATCH v5 0/9] btrfs: Fix freeze/sysfs deadlock in better method.

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

 



On Fri, Jan 30, 2015 at 05:20:45PM +0800, Qu Wenruo wrote:
> [Use VFS protect for sysfs change]
> The 6th patch will introduce a new help function sb_want_write() to
> claim write permission to a superblock.
> With this, we are able to do write protection like mnt_want_write() but
> only needs to ensure that the superblock is writeable.
> This also keeps the same synchronized behavior using ioctl, which will
> block on frozen fs until it is unfrozen.

You know what I think abuot the commit inside sysfs, but it looks better
to me now with the sb_* protections so I give it a go.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux