]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: don't stall cowblocks scan if we can't take locks
authorDarrick J. Wong <djwong@kernel.org>
Sat, 23 Jan 2021 00:48:35 +0000 (16:48 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 3 Feb 2021 17:18:49 +0000 (09:18 -0800)
commit1b6316dd14d612ae4e12d09e45d367b232c4c7d2
tree728234ab4e24393a45fd8c6c918296321fc9258c
parent07a70a2fbb4d9a3295288fb08f6bb4f04be6aa12
xfs: don't stall cowblocks scan if we can't take locks

Don't stall the cowblocks scan on a locked inode if we possibly can.
We'd much rather the background scanner keep moving.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/xfs_icache.c