[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211130040306.148925-1-ebiggers@kernel.org>
Date: Mon, 29 Nov 2021 20:03:03 -0800
From: Eric Biggers <ebiggers@...nel.org>
To: linux-block@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, linux-api@...r.kernel.org,
linux-scsi@...r.kernel.org, linux-mmc@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Bart Van Assche <bvanassche@....org>
Subject: [PATCH v2 0/3] block: show crypto capabilities in sysfs
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 applies to linux-block/for-next.
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/block/queue-sysfs.rst | 30 +++++
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, 236 insertions(+), 10 deletions(-)
create mode 100644 block/blk-crypto-sysfs.c
base-commit: c2626d30f312afc341158e07bf088f5a23b4eeeb
--
2.34.1
Powered by blists - more mailing lists