]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit4560e78f40cb55bd2ea8f1ef4001c5baa88531c7
tree8dc0b7babd87706130fbc1f7acc86f53eb6754a7
parent46694129816851cb323e4bcf2dc41482d8d6c19b
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