The pending read list was not properly flushed when empty objects
were read from a space file.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
}
}
+ ls.splice(ls.end(), waitfor_read);
+ waitfor_read.clear();
+
// apply to bh's!
loff_t opos = start;
while (true) {
loff_t oldpos = opos;
opos = bh->end();
- ls.splice(ls.end(), waitfor_read);
- waitfor_read.clear();
-
if (r == -ENOENT) {
if (trust_enoent) {
ldout(cct, 10) << "bh_read_finish removing " << *bh << dendl;