projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbd810a
)
bcache allocator: send discards with correct size
author
Slava Pestov
<sp@daterainc.com>
Tue, 22 Apr 2014 01:22:35 +0000
(18:22 -0700)
committer
Kent Overstreet
<kmo@daterainc.com>
Mon, 4 Aug 2014 22:23:03 +0000
(15:23 -0700)
drivers/md/bcache/alloc.c
patch
|
blob
|
history
diff --git
a/drivers/md/bcache/alloc.c
b/drivers/md/bcache/alloc.c
index 443d03fbac4705bd97f5acf77f622e0562b7fc55..8eeab72b93e2c4fcf6573e6a63d768f40f8e5320 100644
(file)
--- a/
drivers/md/bcache/alloc.c
+++ b/
drivers/md/bcache/alloc.c
@@
-331,7
+331,7
@@
static int bch_allocator_thread(void *arg)
mutex_unlock(&ca->set->bucket_lock);
blkdev_issue_discard(ca->bdev,
bucket_to_sector(ca->set, bucket),
- ca->sb.b
lock
_size, GFP_KERNEL, 0);
+ ca->sb.b
ucket
_size, GFP_KERNEL, 0);
mutex_lock(&ca->set->bucket_lock);
}