Whamcloud - gitweb
LU-17422 osc: Clear PageChecked on bounce pages 65/53865/10
authorPatrick Farrell <paf0187@gmail.com>
Wed, 27 Mar 2024 21:44:47 +0000 (17:44 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 23 Apr 2024 19:50:44 +0000 (19:50 +0000)
commite804112e34175d391c34e49f9bcac3c2930a2241
treea8d8de8c764cbd103f1966546c01a7899139e0e0
parenta5db30ad971cb3bf2efd5f21306fc11f10e27e73
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.

Fixes: f3fe144b85 ("LU-15003 sec: use enc pool for bounce pages")
Signed-off-by: Patrick Farrell <patrick.farrell@oracle.com>
Change-Id: I8b319e7ba55dd883d74db79a19bf93b6f125616a
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53865
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
lustre/osc/osc_request.c