summaryrefslogtreecommitdiff
path: root/fs/ufs/Makefile
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2014-09-10 12:58:50 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-08 10:27:49 -0800
commitf9841b92fbb2154e9d61279cba98695a86fd886b (patch)
tree596ad206d921447ddd11c26f8b24d05bca6e2f3f /fs/ufs/Makefile
parent94c2606896d20ef936918335d90c4d40ec65d4d4 (diff)
Btrfs: fix loop writing of async reclaim
commit 25ce459c1af138f95a3fd318461193397ebb825b upstream. One of my tests shows that when we really don't have space to reclaim via flush_space and also run out of space, this async reclaim work loops on adding itself into the workqueue and keeps writing something to disk according to iostat's results, and these writes mainly comes from commit_transaction which writes super_block. This's unacceptable as it can be bad to disks, especially memeory storages. This adds a check to avoid the above situation. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Chris Mason <clm@fb.com> Cc: "Alexander E. Patrakov" <patrakov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ufs/Makefile')
0 files changed, 0 insertions, 0 deletions