-
Notifications
You must be signed in to change notification settings - Fork 0
Cleanup patches #524
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?
Cleanup patches #524
Conversation
|
Upstream branch: 8dfce89 |
|
Upstream branch: 8dfce89 |
da2372f to
d1ab428
Compare
|
Upstream branch: 8dfce89 |
d1ab428 to
350a5c3
Compare
|
Upstream branch: 8dfce89 |
350a5c3 to
4029c08
Compare
|
Upstream branch: 8dfce89 |
4029c08 to
7b3a110
Compare
Unwrap the definition of BLK_FEAT_ATOMIC_WRITES and renumber this feature to be sequential with BLK_FEAT_SKIP_TAGSET_QUIESCE. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Nitesh Shetty <[email protected]> Reviewed-by: John Garry <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]>
To check if a request queue is for a rotational device, a double negation is needed with the pattern "!blk_queue_nonrot(q)". Simplify this with the introduction of the helper blk_queue_rot() which tests if a requests queue limit has the BLK_FEAT_ROTATIONAL feature set. All call sites of blk_queue_nonrot() are modified to use blk_queue_rot() and blk_queue_nonrot() definition removed. No functional changes. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Nitesh Shetty <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]>
|
Upstream branch: 8dfce89 |
7b3a110 to
fc952de
Compare
Pull request for series with
subject: Cleanup patches
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1048407