diff options
| author | Xiubo Li <[email protected]> | 2024-02-22 01:22:43 +0000 |
|---|---|---|
| committer | Ilya Dryomov <[email protected]> | 2024-03-19 13:35:55 +0000 |
| commit | 825b82f6b82aa38dbb771d24e135152012500e51 (patch) | |
| tree | 0e8cc011cb756cf30aa6a5eeda0ce11d14e961a7 /scripts/bpf_doc.py | |
| parent | ceph: stop copying to iter at EOF on sync reads (diff) | |
| download | kernel-825b82f6b82aa38dbb771d24e135152012500e51.tar.gz kernel-825b82f6b82aa38dbb771d24e135152012500e51.zip | |
ceph: set correct cap mask for getattr request for read
In case of hitting the file EOF, ceph_read_iter() needs to retrieve the
file size from MDS, and Fr caps aren't neccessary.
[ idryomov: fold into existing retry_op == READ_INLINE branch ]
Reported-by: Frank Hsiao <[email protected]>
Signed-off-by: Xiubo Li <[email protected]>
Reviewed-by: Ilya Dryomov <[email protected]>
Tested-by: Frank Hsiao <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
