Whamcloud - gitweb
EX-6127 llite: DIO fallback on compressed files
authorPatrick Farrell <pfarrell@whamcloud.com>
Fri, 2 Jun 2023 02:24:15 +0000 (22:24 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 23 Jun 2023 23:36:05 +0000 (23:36 +0000)
commit61b4a00ea826cf5215925673d7ea0e2d082b1c66
tree7453d42761e80f7c7276df036b05bf4c5b7ad5c1
parent2a52d25028a8c11c478f47d5249034d63f8a1ee7
EX-6127 llite: DIO fallback on compressed files

Fully supporting direct I/O on compressed files is tricky
because we cannot pull the full chunk in to the page cache
(because there is no page cache for DIO).

So instead we fall back to buffered I/O for DIO on
compressed files.

This patch adds the check and a test for this.

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I8224ef9b8ad1d912d8a11eccad37d3dff8dd8498
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51200
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/cl_object.h
lustre/llite/rw26.c
lustre/lov/lov_object.c
lustre/tests/sanity.sh