]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: don't block the log commit handler for discards
authorChristoph Hellwig <hch@lst.de>
Tue, 7 Feb 2017 22:07:58 +0000 (14:07 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 9 Feb 2017 19:36:40 +0000 (11:36 -0800)
commite2cc52c976487ad3eb31d5e37f80bd935853b5f5
tree8dc0b7babd87706130fbc1f7acc86f53eb6754a7
parent4154383eaeb2c4ca7b42b7c4bb2324d91015d3c0
xfs: don't block the log commit handler for discards

Instead we submit the discard requests and use another workqueue to
release the extents from the extent busy list.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_discard.c
fs/xfs/xfs_discard.h
fs/xfs/xfs_log_cil.c
fs/xfs/xfs_log_priv.h
fs/xfs/xfs_mount.c
fs/xfs/xfs_super.c
fs/xfs/xfs_super.h