diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-10-08 18:50:46 -0400 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-11 00:55:53 -0500 |
commit | 7857d5d470ec53bae187d144c69065ad3c0ebc21 (patch) | |
tree | 815b7786112c02cabf976f19b9f93e5f44d50548 /drivers/md/bcache/journal.h | |
parent | 1fa8455deb92e9ec7756df23030e73b2d28eeca7 (diff) |
bcache: Fix a journalling performance bug
Diffstat (limited to 'drivers/md/bcache/journal.h')
-rw-r--r-- | drivers/md/bcache/journal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/bcache/journal.h b/drivers/md/bcache/journal.h index 3d7851274b04..3ca93d3d566c 100644 --- a/drivers/md/bcache/journal.h +++ b/drivers/md/bcache/journal.h | |||
@@ -140,7 +140,8 @@ struct journal { | |||
140 | spinlock_t lock; | 140 | spinlock_t lock; |
141 | /* used when waiting because the journal was full */ | 141 | /* used when waiting because the journal was full */ |
142 | struct closure_waitlist wait; | 142 | struct closure_waitlist wait; |
143 | struct closure_with_timer io; | 143 | struct closure io; |
144 | struct delayed_work work; | ||
144 | 145 | ||
145 | /* Number of blocks free in the bucket(s) we're currently writing to */ | 146 | /* Number of blocks free in the bucket(s) we're currently writing to */ |
146 | unsigned blocks_free; | 147 | unsigned blocks_free; |