-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor blk_zone_wplug_handle_write() #354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: linus-master_base
Are you sure you want to change the base?
Conversation
|
Upstream branch: e9a6fb0 |
|
Upstream branch: e9a6fb0 |
a52677a to
483e19f
Compare
|
Upstream branch: e9a6fb0 |
483e19f to
c047c2c
Compare
f699346 to
83d3e2f
Compare
|
Upstream branch: 6da43bb |
c047c2c to
8ae7b7c
Compare
83d3e2f to
00d5e5c
Compare
|
Upstream branch: f824272 |
8ae7b7c to
93b74da
Compare
00d5e5c to
d782508
Compare
|
Upstream branch: f824272 |
93b74da to
94b8505
Compare
d782508 to
6099a4d
Compare
|
Upstream branch: e7c375b |
94b8505 to
c3b99fa
Compare
6099a4d to
5121c4d
Compare
|
Upstream branch: e7c375b |
c3b99fa to
498e606
Compare
5121c4d to
4458758
Compare
|
Upstream branch: 8b69055 |
498e606 to
a14d091
Compare
4458758 to
6f43942
Compare
|
Upstream branch: fd95357 |
Remove a superfluous parenthesis that was introduced by commit fa85556 ("blk-zoned: Improve the queue reference count strategy documentation"). Reviewed-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Damien Le Moal <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Bart Van Assche <[email protected]>
Document that all callers hold this lock because the code in disk_zone_wplug_schedule_bio_work() depends on this. Reviewed-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Damien Le Moal <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Bart Van Assche <[email protected]>
Move the following code into the only caller of disk_zone_wplug_add_bio(): - The code for clearing the REQ_NOWAIT flag. - The code that sets the BLK_ZONE_WPLUG_PLUGGED flag. - The disk_zone_wplug_schedule_bio_work() call. This patch moves all code that is related to REQ_NOWAIT or to bio scheduling into a single function. Additionally, the 'schedule_bio_work' variable is removed. No functionality has been changed. Cc: Damien Le Moal <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Damien Le Moal <[email protected]>
a14d091 to
992f6fb
Compare
Pull request for series with
subject: Refactor blk_zone_wplug_handle_write()
version: 2
url: https://patchwork.kernel.org/project/linux-block/list/?series=1022251