aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2023-06-03 04:06:01 +0000
committerJens Axboe <[email protected]>2023-06-04 14:34:14 +0000
commitb5bbc52fd01278642773818642288999a0236cb6 (patch)
tree7e269e6fb9c5ec307fc088cae0afe8a2c5230ac9 /fs/btrfs/dev-replace.c
parentblock: Replace all non-returning strlcpy with strscpy (diff)
downloadkernel-b5bbc52fd01278642773818642288999a0236cb6.tar.gz
kernel-b5bbc52fd01278642773818642288999a0236cb6.zip
ublk: add control command of UBLK_U_CMD_GET_FEATURES
Add control command of UBLK_U_CMD_GET_FEATURES for returning driver's feature set or capability. This way can simplify userspace for maintaining compatibility because userspace doesn't need to send command to one device for querying driver feature set any more. Such as, with the queried feature set, userspace can choose to use: - UBLK_CMD_GET_DEV_INFO2 or UBLK_CMD_GET_DEV_INFO, - UBLK_U_CMD_* or UBLK_CMD_* Userspace code: https://github.com/ming1/ubdsrv/commits/features-cmd Signed-off-by: Ming Lei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions