Whamcloud - gitweb
EX-3636 pcc: set invalid cache state for fallback I/O
authorQian Yingjin <qian@ddn.com>
Tue, 31 Aug 2021 09:11:42 +0000 (17:11 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 1 Sep 2021 15:30:33 +0000 (15:30 +0000)
commit0098be684431033cb2b66e3c7619d7b31e97ba99
treefee3053bda639a856cc9a23729f4d0b44fdb40cb
parent58aa84e785353edbc24bcc5242dd68a43acfc9e0
EX-3636 pcc: set invalid cache state for fallback I/O

When fallback I/O to Lustre (not PCC backend), it should set the
cache state correctly (with *cached = false).

Fixes: c3cf63c830 ("EX-3636 pcc: reset file mmaping for the file once mmaped")
Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: I4e7dad93c589ac8062fe6c08423bf209f08432b6
Reviewed-on: https://review.whamcloud.com/44793
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/llite/pcc.c