diff options
author | Tang Junhui <tang.junhui@zte.com.cn> | 2017-09-06 06:25:53 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-27 12:39:24 (GMT) |
commit | 8f51f38883dcff93f55e132d3d8b1c991e809474 (patch) | |
tree | b272ba679381c85a78af274071a447adf358dcbc /fs/pnode.h | |
parent | c234e0e77572d78cbac0de7acee2263343595c25 (diff) | |
download | linux-8f51f38883dcff93f55e132d3d8b1c991e809474.tar.xz |
bcache: do not subtract sectors_to_gc for bypassed IO
commit 69daf03adef5f7bc13e0ac86b4b8007df1767aab upstream.
Since bypassed IOs use no bucket, so do not subtract sectors_to_gc to
trigger gc thread.
Signed-off-by: tang.junhui <tang.junhui@zte.com.cn>
Acked-by: Coly Li <colyli@suse.de>
Reviewed-by: Eric Wheeler <bcache@linux.ewheeler.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/pnode.h')
0 files changed, 0 insertions, 0 deletions