summaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/sysfs.c
diff options
context:
space:
mode:
authorColy Li <colyli@suse.de>2019-06-28 13:59:57 +0200
committerJens Axboe <axboe@kernel.dk>2019-06-28 15:39:18 +0200
commitd91ce7574daf48a4567ba62733d43284f5d2a3f4 (patch)
tree1fcda7b58205f80f50cec42a5858ff4d4ce52248 /drivers/md/bcache/sysfs.c
parentbcache: add comments for mutex_lock(&b->write_lock) (diff)
downloadlinux-d91ce7574daf48a4567ba62733d43284f5d2a3f4.tar.xz
linux-d91ce7574daf48a4567ba62733d43284f5d2a3f4.zip
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 '')
-rw-r--r--drivers/md/bcache/sysfs.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/md/bcache/sysfs.c b/drivers/md/bcache/sysfs.c
index d62e28643109..701a386a954c 100644
--- a/drivers/md/bcache/sysfs.c
+++ b/drivers/md/bcache/sysfs.c
@@ -83,7 +83,6 @@ read_attribute(state);
read_attribute(cache_read_races);
read_attribute(reclaim);
read_attribute(flush_write);
-read_attribute(retry_flush_write);
read_attribute(writeback_keys_done);
read_attribute(writeback_keys_failed);
read_attribute(io_errors);
@@ -709,9 +708,6 @@ SHOW(__bch_cache_set)
sysfs_print(flush_write,
atomic_long_read(&c->flush_write));
- sysfs_print(retry_flush_write,
- atomic_long_read(&c->retry_flush_write));
-
sysfs_print(writeback_keys_done,
atomic_long_read(&c->writeback_keys_done));
sysfs_print(writeback_keys_failed,
@@ -936,7 +932,6 @@ static struct attribute *bch_cache_set_internal_files[] = {
&sysfs_cache_read_races,
&sysfs_reclaim,
&sysfs_flush_write,
- &sysfs_retry_flush_write,
&sysfs_writeback_keys_done,
&sysfs_writeback_keys_failed,