Whamcloud - gitweb
LU-17810 dne: dir restripe without fixed hash flag 17/57117/5
authorAlexander Zarochentsev <alexander.zarochentsev@hpe.com>
Mon, 2 Dec 2024 16:47:57 +0000 (16:47 +0000)
committerOleg Drokin <green@whamcloud.com>
Mon, 16 Dec 2024 08:03:43 +0000 (08:03 +0000)
commit392f558f405238d1b455256650a6aaa26fa7ab6e
treefdebb35bf802f055aef3297d88daea494343ca51
parent6a3d7634a1fa0f7af14a8288cdd595bd6f8579eb
LU-17810 dne: dir restripe without fixed hash flag

Add an option to clear LMV_HASH_FIXED_FLAG
in dir re-striping, this restores an ability to convert a
striped dir with only one stripe into a plain dir.

HPE-bug-id: LUS-12321
Fixes: 4c2514f483 ("LU-14459 mdt: support fixed directory layout")
Signed-off-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Change-Id: I7c119f435b19a446cb960cdc5a8ebec7e00ab0dc
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57117
Reviewed-by: Andrew Perepechko <andrew.perepechko@hpe.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/doc/lfs-migrate.1
lustre/mdt/mdt_lib.c
lustre/utils/lfs.c