diff options
author | Coly Li <colyli@suse.de> | 2019-06-28 14:59:57 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-28 16:39:18 +0300 |
commit | d91ce7574daf48a4567ba62733d43284f5d2a3f4 (patch) | |
tree | 1fcda7b58205f80f50cec42a5858ff4d4ce52248 /drivers/md/bcache/journal.c | |
parent | 41508bb7d46b74dba631017e5a702a86caf1db8c (diff) | |
download | linux-d91ce7574daf48a4567ba62733d43284f5d2a3f4.tar.xz |
bcache: remove retry_flush_write from struct cache_set
In struct cache_set, retry_flush_write is added for commit c4dc2497d50d
("bcache: fix high CPU occupancy during journal") which is reverted in
previous patch.
Now it is useless anymore, and this patch removes it from bcache code.
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/bcache/journal.c')
-rw-r--r-- | drivers/md/bcache/journal.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/bcache/journal.c b/drivers/md/bcache/journal.c index 14a4e2c44de9..1218e3cada3c 100644 --- a/drivers/md/bcache/journal.c +++ b/drivers/md/bcache/journal.c @@ -447,7 +447,6 @@ retry: if (!btree_current_write(b)->journal) { mutex_unlock(&b->write_lock); /* We raced */ - atomic_long_inc(&c->retry_flush_write); goto retry; } |