diff options
author | 2024-02-22 09:22:43 +0800 | |
---|---|---|
committer | 2024-03-19 14:35:55 +0100 | |
commit | 825b82f6b82aa38dbb771d24e135152012500e51 (patch) | |
tree | 0e8cc011cb756cf30aa6a5eeda0ce11d14e961a7 /scripts/gdb/linux/utils.py | |
parent | ceph: stop copying to iter at EOF on sync reads (diff) | |
download | linux-rng-825b82f6b82aa38dbb771d24e135152012500e51.tar.xz linux-rng-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 <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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions