On Wed, Sep 05, 2012 at 05:54:04PM +0200, David Sterba wrote:
Many users who use btrfs met the deadlock problem caused by
writeback_inodes_sb(_nr)_if_idle(),
so I send this patch again and hope it will be received as soon as possible
if nobody objects.
Yes please, this makes testing
On Wed, Aug 29, 2012 at 02:17:12PM +0800, Miao Xie wrote:
writeback_inodes_sb(_nr)_if_idle() is re-implemented by replacing down_read()
with down_read_trylock() because
- If -s_umount is write locked, then the sb is not idle. That is
writeback_inodes_sb(_nr)_if_idle() needn't wait for the
writeback_inodes_sb(_nr)_if_idle() is re-implemented by replacing down_read()
with down_read_trylock() because
- If -s_umount is write locked, then the sb is not idle. That is
writeback_inodes_sb(_nr)_if_idle() needn't wait for the lock.
- writeback_inodes_sb(_nr)_if_idle() grabs s_umount lock