Correct format
Signed-off-by: Derek Su <derek.su@suse.com>
This commit is contained in:
parent
11a8d36765
commit
71f5508d91
@ -10021,6 +10021,7 @@ dst_bdev_name | Required | string | Name of the bdev that acts as
|
||||
### bdev_lvol_set_xattr {#rpc_bdev_lvol_set_xattr}
|
||||
|
||||
Set xattr for lvol bdev
|
||||
|
||||
#### Parameters
|
||||
|
||||
Name | Optional | Type | Description
|
||||
@ -10032,6 +10033,7 @@ xattr_value | Required | string | Value of the xattr
|
||||
### bdev_lvol_get_xattr {#rpc_bdev_lvol_get_xattr}
|
||||
|
||||
Get xattr for lvol bdev
|
||||
|
||||
#### Parameters
|
||||
|
||||
Name | Optional | Type | Description
|
||||
@ -10039,8 +10041,6 @@ Name | Optional | Type | Description
|
||||
name | Required | string | UUID or alias of lvol
|
||||
xattr_name | Required | string | Name of the xattr
|
||||
|
||||
|
||||
|
||||
#### Example
|
||||
|
||||
Example request:
|
||||
|
@ -2086,7 +2086,8 @@ Format: 'user:u1 secret:s1 muser:mu1 msecret:ms1,user:u2 secret:s2 muser:mu2 mse
|
||||
name=args.name,
|
||||
offset=args.offset,
|
||||
size=args.size))
|
||||
p = subparsers.add_parser('bdev_lvol_get_fragmap', help='Get a fragmap for a specific segment of a logical volume using the provided offset and size.')
|
||||
p = subparsers.add_parser('bdev_lvol_get_fragmap',
|
||||
help='Get a fragmap for a specific segment of a logical volume using the provided offset and size.')
|
||||
p.add_argument('name', help='lvol bdev name')
|
||||
p.add_argument('--offset', help='offset in bytes of the specific segment of the logical volume', type=int, required=False)
|
||||
p.add_argument('--size', help='size in bytes of the specific segment of the logical volume', type=int, required=False)
|
||||
|
@ -198,7 +198,6 @@ function test_fragmap_data_hole_data() {
|
||||
check_leftover_devices
|
||||
}
|
||||
|
||||
|
||||
$SPDK_BIN_DIR/spdk_tgt &
|
||||
spdk_pid=$!
|
||||
trap 'killprocess "$spdk_pid"; exit 1' SIGINT SIGTERM EXIT
|
||||
|
Loading…
Reference in New Issue
Block a user