Whamcloud - gitweb
LU-13745 pcc: fall back normal splice read for detached file 96/40396/3
authorQian Yingjin <qian@ddn.com>
Mon, 26 Oct 2020 02:37:26 +0000 (10:37 +0800)
committerQian Yingjin <qian@ddn.com>
Mon, 7 Dec 2020 03:27:38 +0000 (11:27 +0800)
commite14702e8d6341b70381beeb65f1b5fb0eae07697
tree1db46fc1d29379645319cdbbcb515335780d8a12
parente5c8f6670fbeea9ec8c6092dfa4369508da54485
LU-13745 pcc: fall back normal splice read for detached file

For the file that was once cached into PCC but detached from PCC
later, it should fall back into the normal I/O path to direct I/Os
to Lustre OSTs for splice read, not just return zero.

Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: Iff3449069a0a12ac56b58618e474749361c31bb7
lustre/llite/pcc.c