diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-10-09 00:50:46 +0200 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-11 06:55:53 +0100 |
commit | 7857d5d470ec53bae187d144c69065ad3c0ebc21 (patch) | |
tree | 815b7786112c02cabf976f19b9f93e5f44d50548 /drivers/md/bcache/journal.h | |
parent | bcache: Fix dirty_data accounting (diff) | |
download | linux-7857d5d470ec53bae187d144c69065ad3c0ebc21.tar.xz linux-7857d5d470ec53bae187d144c69065ad3c0ebc21.zip |
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 { spinlock_t lock; /* used when waiting because the journal was full */ struct closure_waitlist wait; - struct closure_with_timer io; + struct closure io; + struct delayed_work work; /* Number of blocks free in the bucket(s) we're currently writing to */ unsigned blocks_free; |