Skip to content
Snippets Groups Projects
Commit 118d1b6a authored by Maxim Levitsky's avatar Maxim Levitsky Committed by Max Reitz
Browse files

block/nvme: support larger that 512 bytes sector devices


Currently the driver hardcodes the sector size to 512,
and doesn't check the underlying device. Fix that.

Also fail if underlying nvme device is formatted with metadata
as this needs special support.

Signed-off-by: default avatarMaxim Levitsky <mlevitsk@redhat.com>
Message-id: 20190716163020.13383-3-mlevitsk@redhat.com
Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
parent 461bba04
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment