Skip to content

sed-opal: geometry feature reporting command

Ondrej Kozina linux-block 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 5 repliesApplied
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

- Mask proper bit for ALIGN value

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/1sed-opal: geometry feature reporting commandblock/sed-opal.c include/linux/sed-opal.h include/uapi/linux/sed-opal.h+42 -13 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchChristoph HellwigChristian BraunerMilan Broz
1/1R-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/1] sed-opal: geometry feature reporting command

While further testing various OPAL drives we have discovered that some drives may impose alignment requirements that can not be satisfied without reading some aditional parameters reported by sed-opal iface.

We used to stick to physical block size reported by general block device in place of LogicalBlockSize as reported by opal 'geometry', but at least 2 aditional restrictions can not be easily mapped to anything currently reported by block layer.

Without this patch we can not properly align locking ranges created via sed-opal iface.

(Also it helps us to explain to userspace what went wrong)

Changes since previous version:

v2:
- Mask proper bit for ALIGN value

Ondrej Kozina (1):
sed-opal: geometry feature reporting command

 block/sed-opal.c              | 29 ++++++++++++++++++++++++++++-
 include/linux/sed-opal.h      |  1 +
 include/uapi/linux/sed-opal.h | 13 +++++++++++++
 3 files changed, 42 insertions(+), 1 deletion(-)
Signature · 1 line
2.31.1