diff options
| author | Jeff Lien <[email protected]> | 2017-12-19 19:24:15 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2017-12-29 09:31:05 +0000 |
| commit | cee160fd34b459ace029653436319557a643795a (patch) | |
| tree | 74fb334a13d4464cdb40a31f181220183b316bfd /fs/jbd2/commit.c | |
| parent | nvme-pci: move use_sgl initialization to nvme_init_iod() (diff) | |
| download | kernel-cee160fd34b459ace029653436319557a643795a.tar.gz kernel-cee160fd34b459ace029653436319557a643795a.zip | |
nvme: fix sector units when going between formats
If you format a device with a 4k sector size back to 512 bytes, the queue
limit values for physical block size and minimum IO size were not getting
updated; only the logical block size was being updated. This patch adds
code to update the physical block and IO minimum sizes.
Signed-off-by: Jeff Lien <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
