summaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/bcache.h
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2013-07-31 00:03:54 -0700
committerKent Overstreet <kmo@daterainc.com>2013-11-10 21:56:40 -0800
commit65d22e911bfc4f46cda4751f1b1926b43c316c14 (patch)
tree2d860067f2cb0d25a3fda0b9d3873d911ce364fe /drivers/md/bcache/bcache.h
parent8aee122071a69ca6fa3314da7713bdf0b61dc07c (diff)
downloadlinux-65d22e911bfc4f46cda4751f1b1926b43c316c14.tar.gz
linux-65d22e911bfc4f46cda4751f1b1926b43c316c14.tar.bz2
linux-65d22e911bfc4f46cda4751f1b1926b43c316c14.zip
bcache: Move spinlock into struct time_stats
Minor cleanup. Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers/md/bcache/bcache.h')
-rw-r--r--drivers/md/bcache/bcache.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/md/bcache/bcache.h b/drivers/md/bcache/bcache.h
index 322735547eab..816d07958fac 100644
--- a/drivers/md/bcache/bcache.h
+++ b/drivers/md/bcache/bcache.h
@@ -666,11 +666,9 @@ struct cache_set {
unsigned congested_read_threshold_us;
unsigned congested_write_threshold_us;
- spinlock_t sort_time_lock;
struct time_stats sort_time;
struct time_stats btree_gc_time;
struct time_stats btree_split_time;
- spinlock_t btree_read_time_lock;
struct time_stats btree_read_time;
struct time_stats try_harder_time;