Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
8b326d3a
Commit
8b326d3a
authored
Apr 21, 2014
by
Slava Pestov
Committed by
Kent Overstreet
Aug 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcache allocator: send discards with correct size
parent
dbd810ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/md/bcache/alloc.c
drivers/md/bcache/alloc.c
+1
-1
No files found.
drivers/md/bcache/alloc.c
View file @
8b326d3a
...
@@ -331,7 +331,7 @@ static int bch_allocator_thread(void *arg)
...
@@ -331,7 +331,7 @@ static int bch_allocator_thread(void *arg)
mutex_unlock
(
&
ca
->
set
->
bucket_lock
);
mutex_unlock
(
&
ca
->
set
->
bucket_lock
);
blkdev_issue_discard
(
ca
->
bdev
,
blkdev_issue_discard
(
ca
->
bdev
,
bucket_to_sector
(
ca
->
set
,
bucket
),
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
);
mutex_lock
(
&
ca
->
set
->
bucket_lock
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment