lkml.org 
[lkml]   [2021]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/3] block: show crypto capabilities in sysfs
Date
This series adds sysfs files that expose the inline encryption
capabilities of request queues.

Patches 1 and 2 are some related cleanups for existing blk-sysfs code.
Patch 3 is the real change; see there for more details.

This is based on top of my other patch series
"[PATCH v2 0/8] docs: consolidate sysfs-block into Documentation/ABI/"
(https://lore.kernel.org/r/20211208005640.102814-1-ebiggers@kernel.org).

Changed v2 => v3:
- Moved the documentation into Documentation/ABI/stable/sysfs-block,
and improved it a bit.
- Write "/sys/block/" instead of "/sys/class/block/".
- Added Reviewed-by tags.

Changed v1 => v2:
- Use sysfs_emit() instead of sprintf().
- Use __ATTR_RO().

Eric Biggers (3):
block: simplify calling convention of elv_unregister_queue()
block: don't delete queue kobject before its children
blk-crypto: show crypto capabilities in sysfs

Documentation/ABI/stable/sysfs-block | 49 ++++++++
block/Makefile | 3 +-
block/blk-crypto-internal.h | 12 ++
block/blk-crypto-sysfs.c | 172 +++++++++++++++++++++++++++
block/blk-crypto.c | 3 +
block/blk-sysfs.c | 17 ++-
block/elevator.c | 8 +-
include/linux/blkdev.h | 1 +
8 files changed, 255 insertions(+), 10 deletions(-)
create mode 100644 block/blk-crypto-sysfs.c

--
2.34.1

\
 
 \ /
  Last update: 2021-12-08 02:37    [W:0.124 / U:2.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site