Actions
Bug #48076
closedclient: ::_read fails to advance pos at EOF checking
% Done:
0%
Source:
Q/A
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
/ceph/teuthology-archive/pdonnell-2020-11-02_02:29:29-fs:volumes-master-distro-basic-smithi/5581167/teuthology.log
see also
/ceph/teuthology-archive/pdonnell-2020-11-02_02:29:29-fs:volumes-master-distro-basic-smithi/5581167/remote/smithi188/log/ceph-mgr.x.log.gz
2020-11-02T03:32:54.040+0000 7f6572b02700 3 client.6333 read(10, 0x564d4333ec20, 8192, -1) = 0
::_read returns 0 because of
which prevents f->pos from advancing:
and then ::read converts the 0 return value to the buffer length:
The end result is two reads (with offset=-1) that return the same values.
Actions