Whamcloud - gitweb
EX-9585 lipe: add lipe_find3 pool option
authorVitaliy Kuznetsov <vkuznetsov@ddn.com>
Tue, 21 May 2024 19:05:16 +0000 (21:05 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 30 May 2024 00:41:09 +0000 (00:41 +0000)
commit5d477276ef8326b3ccc0772fc7ab36ef018baa36
tree6d4e74a713d5272d673127def72a62aad8c13b7d
parent59250ca07a079a5f213e80543543fd392f5d34ea
EX-9585 lipe: add lipe_find3 pool option

Add an option to print the OST pool for a file with the
"-printf" argument, both as long option %{pool} as well as
short option and "%Lp" that is compatible with "lfs find".
The long %{pools} option prints *all* pools in the layout.

Update the lipe-find3.1 man page and add test cases for both.

Test-Parameters: trivial testlist=sanity-lipe-find3,sanity-lipe-scan3
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Vitaliy Kuznetsov <vkuznetsov@ddn.com>
Change-Id: I18d2d3cc161c8aa92eb27c33b06214b6f53ebbe5
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54785
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexandre Ioffe <aioffe@ddn.com>
lipe/man/lipe_find3.1
lipe/src/lipe_find3/lf3_parse_format.c
lipe/src/lipe_scan3/lipe-scan3-notes.txt
lipe/src/lipe_scan3/ls3_main.c
lipe/src/lipe_scan3/tests/lipe.scm
lustre/tests/sanity-lipe-find3.sh
lustre/tests/sanity-lipe-scan3.sh