Whamcloud - gitweb
EX-9858 osd: add @read param to dt_write_prep()
authorAlex Zhuravlev <bzzz@whamcloud.com>
Thu, 30 May 2024 06:12:17 +0000 (09:12 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 19 Jun 2024 05:39:15 +0000 (05:39 +0000)
commit329d0265e45e0f0a0d68b0ab1f58d1ee7574f15d
tree8c45e651c000bdbd06f1dcf1b4bec5542d228a7c
parent5f3e6db5f88c0a94b69acb674e2c801bd3897aa2
EX-9858 osd: add @read param to dt_write_prep()

the purpose is to skip full page reading when OSD is aked for
pages to be written later. in CSDC we need all data as the
pages can be compressed and we may need to decompress them
first.

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I2ea9888a1dab419275dbee97e9acc661101b5262
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/55250
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Artem Blagodarenko <ablagodarenko@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/dt_object.h
lustre/mdt/mdt_io.c
lustre/ofd/ofd_io.c
lustre/osd-ldiskfs/osd_io.c
lustre/osd-zfs/osd_io.c