Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
When attach a file at file open with direct mode, the kernel data copying from Lustre file to PCC copy will result in -EFAULT error as the buffer is allocated in the kernel, not from user space.
Thus we need unmask the O_DIRECT flag from the file handle during data copying, after finished the data copying, restore the flag of the file handle.
Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/40082
Subject: LU-14000 pcc: unmask O_DIRECT open flag during attach
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f0e6c251bde21084b9405cb4288f548ca67e8bdf