Whamcloud - gitweb
EX-8038 csdc: store compression info in FID EA
authorBobi Jam <bobijam@whamcloud.com>
Thu, 11 Jan 2024 09:44:18 +0000 (17:44 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 8 Feb 2024 08:53:12 +0000 (08:53 +0000)
commitca161aa1fccdd0ef4da6fc7ba464dbf9dbcdebd7
tree6efd046a13c8c23d7897444f565b75123988c6d0
parentbf4f5295e59414245f22dddd8a94a446cf8a1a60
EX-8038 csdc: store compression info in FID EA

Store compression information in OST-object's FID EA, and lfsck could
use it to recover the MDT-object layout EA from orphan OST-object(s).

2.15 Lustre may embed PFID and layout stripe info in LMA EA, this
patch would clear them from LMA EA and store them with compression
info directly into FID EA thereafter.

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: Iacac04601b73f85d9bc057b8dd34a5004248dac4
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53649
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/osd-ldiskfs/osd_handler.c