commit | 825b82f6b82aa38dbb771d24e135152012500e51 | [log] [tgz] |
---|---|---|
author | Xiubo Li <xiubli@redhat.com> | Thu Feb 22 09:22:43 2024 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Tue Mar 19 14:35:55 2024 +0100 |
tree | 0e8cc011cb756cf30aa6a5eeda0ce11d14e961a7 | |
parent | 1065da21e5df9d843d2c5165d5d576be000142a6 [diff] |
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 <frankhsiao@qnap.com> Signed-off-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Tested-by: Frank Hsiao <frankhsiao@qnap.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>