Whamcloud - gitweb
LU-17422 osc: Clear PageChecked on bounce pages
authorPatrick Farrell <pfarrell@whamcloud.com>
Tue, 30 Jan 2024 21:07:59 +0000 (16:07 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 8 Feb 2024 08:58:53 +0000 (08:58 +0000)
commit5cb3f501a975da1db229e52eff40a43feb6dc07f
tree69185b205a2fb41f56b589ec8f06ae3519aa48a2
parentd9414eb1aeb6d4a67e37201e74dfb2a21063cd57
LU-17422 osc: Clear PageChecked on bounce pages

When we're finalizing a bounce page, we must clear
PageChecked.  Otherwise, if it's a page pool page, it will
be reused without the full wipe the kernel gives it, and we
will see PageChecked on pages which are not actually from
encryption and will handle them incorrectly.

Lustre-Change: https://review.whamcloud.com/53865/
Lustre-Commit: TBD  (from 5582abc557a8d7188bbb6fb2bc38585338f660b4)

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I8b319e7ba55dd883d74db79a19bf93b6f125616a
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53866
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/osc/osc_request.c