Commit 1d81143
nvme: add rotational support
Rotational devices, such as hard-drives, can be detected using
the rotational bit in the namespace independent identify namespace
data structure. Make the bit visible to the block layer through the
rotational queue setting.
Signed-off-by: Wang Yugui <[email protected]>
Reviewed-by: Matias Bjørling <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Keith Busch <[email protected]>1 parent ee9f36d commit 1d81143
2 files changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
1615 | 1616 | | |
1616 | 1617 | | |
1617 | 1618 | | |
| 1619 | + | |
1618 | 1620 | | |
1619 | 1621 | | |
1620 | 1622 | | |
| |||
2162 | 2164 | | |
2163 | 2165 | | |
2164 | 2166 | | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
2165 | 2170 | | |
2166 | 2171 | | |
2167 | 2172 | | |
| |||
3608 | 3613 | | |
3609 | 3614 | | |
3610 | 3615 | | |
| 3616 | + | |
3611 | 3617 | | |
3612 | 3618 | | |
3613 | 3619 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
| 477 | + | |
477 | 478 | | |
478 | 479 | | |
479 | 480 | | |
| |||
0 commit comments