From 69f81a36cc3147865b7aa8ec94de881abad0499a Mon Sep 17 00:00:00 2001 From: Ming Lei Date: Tue, 20 Aug 2024 03:57:10 +0000 Subject: [PATCH] ublksrv_tgt: show new features in 'features' command Signed-off-by: Ming Lei --- ublksrv_tgt.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ublksrv_tgt.cpp b/ublksrv_tgt.cpp index aaf0d25b..068632c6 100644 --- a/ublksrv_tgt.cpp +++ b/ublksrv_tgt.cpp @@ -1045,6 +1045,8 @@ static int cmd_dev_get_features(int argc, char *argv[]) [const_ilog2(UBLK_F_USER_RECOVERY_REISSUE)] = "RECOVERY_REISSUE", [const_ilog2(UBLK_F_UNPRIVILEGED_DEV)] = "UNPRIVILEGED_DEV", [const_ilog2(UBLK_F_CMD_IOCTL_ENCODE)] = "CMD_IOCTL_ENCODE", + [const_ilog2(UBLK_F_USER_COPY)] = "USER_COPY", + [const_ilog2(UBLK_F_ZONED)] = "ZONED", }; ret = ublksrv_ctrl_get_features(dev, &features);