Whamcloud - gitweb
EX-6510 csdc: prefer uncompressed mirror for write
authorBobi Jam <bobijam@whamcloud.com>
Fri, 12 May 2023 03:24:35 +0000 (11:24 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 22 Jun 2023 02:58:33 +0000 (02:58 +0000)
commit483f2fa2f6768d32709d2fc56cece4e9f03b9e18
tree0cf4c8834415c326b40b72e193e9cb1c08d6271c
parentd945f1b064bc95a2e2a4f8810b497e71315ca0c3
EX-6510 csdc: prefer uncompressed mirror for write

When writing to mirrored files with both compressed and uncompressed
mirrors, prefer the uncompressed components to write, and that is
better for performance, more compatible with older clients, and better
fits the model of compressing files after initial write.

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I62a117d5cc3d34e2c0c96d1a9ade8eef0a2d1291
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/50974
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/lod/lod_internal.h
lustre/lod/lod_lov.c
lustre/lod/lod_object.c
lustre/tests/fsx.c
lustre/tests/sanity-flr.sh
lustre/utils/lfs.c
lustre/utils/liblustreapi_layout.c