Whamcloud - gitweb
LU-15727 lod: honor append_pool with default composite layouts
authorJohn L. Hammond <jhammond@whamcloud.com>
Thu, 7 Apr 2022 16:31:07 +0000 (11:31 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 4 Aug 2022 18:53:49 +0000 (18:53 +0000)
commit6d48ced7f5f77dcda6e05b7b39fa52643f3c534b
tree335e1b0f7cb67986da5ded016c62745328d6eb5a
parentaba69fed46fbb6bd3c46adb70f0316291992e69f
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")

Lustre-change: https://review.whamcloud.com/47014
Lustre-commit: 03963106926883cf322e085feb8caa3ea64db1d1

Change-Id: I66b426d24d6476fb483397f290229983f3da4be5
Signed-off-by: Xing Huang <hxing@ddn.com>
Reviewed-on: https://review.whamcloud.com/48027
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@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