Whamcloud - gitweb
EX-8826 ofd: set compressed file size for fake writes
authorPatrick Farrell <pfarrell@whamcloud.com>
Sat, 16 Dec 2023 22:40:16 +0000 (17:40 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 2 Jan 2024 08:23:49 +0000 (08:23 +0000)
commit6145e0f9780ddba00b34f1fd9f0ec8e7093627d3
treed9499b477f835a2f93a7811f605c51b8831a8840
parent3a2743ed8f289e862390590e22707531aa6d0475
EX-8826 ofd: set compressed file size for fake writes

When using the fake writes fail_loc, file size setting is
done at the ofd layer, since the osd layer isn't used.  So
we must also handle the compressed file size for this case.

This fixes sanity test 399a with compression.

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: Icda612405908166d043e1e568d0d8bd9cd0c5156
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53483
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Artem Blagodarenko <ablagodarenko@ddn.com>
lustre/ofd/ofd_io.c