Skip to content

Commit

Permalink
ublksrv_tgt: show new features in 'features' command
Browse files Browse the repository at this point in the history
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
  • Loading branch information
ming1 committed Aug 20, 2024
1 parent 4f8a8ec commit 69f81a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ublksrv_tgt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 69f81a3

Please sign in to comment.