Project

General

Profile

Actions

Bug #24484

closed

osdc: wrong offset in BufferHead

Added by dongdong tao almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous,mimic
Regression:
No
Severity:
1 - critical
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The offset of BufferHead should be "opos - bh->start()"


Related issues 2 (0 open2 closed)

Copied to RADOS - Backport #24583: mimic: osdc: wrong offset in BufferHeadResolvedPrashant DActions
Copied to RADOS - Backport #24584: luminous: osdc: wrong offset in BufferHeadResolvedPrashant DActions
Actions #2

Updated by dongdong tao almost 6 years ago

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.

Actions #3

Updated by Kefu Chai almost 6 years ago

  • Project changed from CephFS to RADOS
  • Category set to Correctness/Safety
  • Status changed from New to Fix Under Review
  • Assignee set to dongdong tao
Actions #4

Updated by Jason Dillaman almost 6 years ago

  • Backport set to luminous,mimic
Actions #5

Updated by Jason Dillaman almost 6 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #6

Updated by Nathan Cutler almost 6 years ago

Actions #7

Updated by Nathan Cutler almost 6 years ago

  • Copied to Backport #24584: luminous: osdc: wrong offset in BufferHead added
Actions #8

Updated by Nathan Cutler over 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF