Commit b79e4a0
libceph: remove MAX_EXTENTS check for sparse reads
There is no any limit for the extent array size and it's possible
that when reading with a large size contents the total number of
extents will exceed 4096. Then the messager will fail by reseting
the connection and keeps resending the inflight IOs infinitely.
[ idryomov: adjust error message ]
Link: https://tracker.ceph.com/issues/62081
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>1 parent f48e034 commit b79e4a0
1 file changed
Lines changed: 4 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5850 | 5850 | | |
5851 | 5851 | | |
5852 | 5852 | | |
5853 | | - | |
5854 | | - | |
5855 | 5853 | | |
5856 | 5854 | | |
5857 | 5855 | | |
| |||
5882 | 5880 | | |
5883 | 5881 | | |
5884 | 5882 | | |
5885 | | - | |
5886 | | - | |
5887 | | - | |
5888 | | - | |
5889 | | - | |
5890 | | - | |
5891 | | - | |
5892 | | - | |
5893 | | - | |
5894 | | - | |
5895 | 5883 | | |
5896 | 5884 | | |
5897 | 5885 | | |
5898 | 5886 | | |
5899 | 5887 | | |
5900 | | - | |
| 5888 | + | |
| 5889 | + | |
| 5890 | + | |
5901 | 5891 | | |
| 5892 | + | |
5902 | 5893 | | |
5903 | 5894 | | |
5904 | 5895 | | |
| |||
0 commit comments