Whamcloud - gitweb
LU-15727 lod: honor append_pool with default composite layouts 14/47014/3
authorJohn L. Hammond <jhammond@whamcloud.com>
Thu, 7 Apr 2022 16:31:07 +0000 (11:31 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 11 Jul 2022 22:30:40 +0000 (22:30 +0000)
commit03963106926883cf322e085feb8caa3ea64db1d1
tree85053984175528ec6c5ac51f0e2c0e1ed15fffd2
parent71d63602c57e6d0cb723ae02ea767c6c170e5997
LU-15727 lod: honor append_pool with default composite layouts

In lod_get_default_lov_striping(), correct the handling of composite
default layouts in the case where append_stripe_count is nonzero.
Align the names of the append members of struct dt_allocation_hint
with the mdd params. Remove the unused dah_mode member of struct
dt_allocation_hint.

Add sanity test_27U() to verify.

Fixes: e2ac6e1eaa ("LU-9341 lod: Add special O_APPEND striping")
Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: I66b426d24d6476fb483397f290229983f3da4be5
Reviewed-on: https://review.whamcloud.com/47014
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/dt_object.h
lustre/lod/lod_internal.h
lustre/lod/lod_object.c
lustre/mdd/mdd_object.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-zfs/osd_object.c
lustre/osp/osp_md_object.c
lustre/tests/sanity.sh