Bug #24484
closed
osdc: wrong offset in BufferHead
Added by dongdong tao almost 6 years ago.
Updated over 5 years ago.
Category:
Correctness/Safety
Description
The offset of BufferHead should be "opos - bh->start()"
this bug will lead to an exception "buffer::end_of_buffer" which is thrown in function "buffer::list::substr_of"
This is easy to reproduce by
1. resetting the file layout to make one ObjectExtent contains multiple buffer_extent.
2. do a buffer write.
- Project changed from CephFS to RADOS
- Category set to Correctness/Safety
- Status changed from New to Fix Under Review
- Assignee set to dongdong tao
- Backport set to luminous,mimic
- Status changed from Fix Under Review to Pending Backport
- Copied to Backport #24584: luminous: osdc: wrong offset in BufferHead added
- Status changed from Pending Backport to Resolved
Also available in: Atom
PDF