Whamcloud - gitweb
EX-8814 csdc: Update async_args after resend
authorArtem Blagodarenko <ablagodarenko@ddn.com>
Thu, 25 Jan 2024 23:01:05 +0000 (23:01 +0000)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 8 Feb 2024 08:57:36 +0000 (08:57 +0000)
commit6479ba45e099beab27439f189773c80455c1a88d
tree350edaf909f2ce0a158709d50dbc2b0b8837c17d
parent28716d4023334bbcdb7925784be52588ce57039e
EX-8814 csdc: Update async_args after resend

It is decided to send an uncompressed request on redo.
osc_brw_prep_request() processes uncompressed data and prepares
a request, so some parts of the old request are outdated.

Let's update the old request with information from the new one.

Fixes: 8fb8d5b ("EX-8814 csdc: Revert "EX-8189 osc: do not compress resends")
Signed-off-by: Artem Blagodarenko <ablagodarenko@ddn.com>
Change-Id: Idb1c6ee9db64cb1f2ea1c1562b1c5aae443263e3
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53830
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>
lustre/osc/osc_request.c