Whamcloud - gitweb
LU-16096 target: use lsd_reply_data_v1 format by default 36/50636/9
authorQian Yingjin <qian@ddn.com>
Fri, 14 Apr 2023 08:43:18 +0000 (04:43 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 23 Feb 2024 06:59:26 +0000 (06:59 +0000)
commit5321d510878f8893a49778025c6981e46a66cdff
treec41bb5aa256d447a2e567a350bd2071a570c8f76
parentd12b18195cedd629e94b5bafecd7c9509484c89f
LU-16096 target: use lsd_reply_data_v1 format by default

Since it does not actually need the lrd_batch_idx field in the
reply data for the read-only batched RPC such as statahead, this
means that lsd_reply_data_v2 format can be only enabled after the
update batched RPC such as MetaWBC is introduced.

In this patch, we use lsd_reply_data_v1 format and read/write
"REPLY_DATA" in old format by default.

Test-Parameters: testlist=replay-dual env=PTLDEBUG=-1,ONLY=3
Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: I237e719d3a8d3ff1377df8194fca00b25694273b
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50636
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/lu_target.h
lustre/include/uapi/linux/lustre/lustre_disk.h
lustre/target/tgt_lastrcvd.c
lustre/target/update_recovery.c
lustre/utils/lr_reader.c