Project

General

Profile

Actions

Bug #7465

closed

krbd: size of disk read or set incorrectly

Added by Josh Durgin about 10 years ago. Updated about 10 years ago.

Status:
Can't reproduce
Priority:
Urgent
Assignee:
Target version:
-
% Done:

0%

Source:
Support
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This was observed on a 3.11 ubuntu kernel:

Feb 17 16:24:07 fs02 kernel: [465814.816694] rbd: rbd12: beyond EOD (1024~1024 > 60)
Feb 17 16:24:07 fs02 kernel: [465814.816694]
Feb 17 16:24:07 fs02 kernel: [465814.816710] rbd: rbd12: read 400 at 400 result -5
Feb 17 16:24:07 fs02 kernel: [465814.816710]
Feb 17 16:24:07 fs02 kernel: [465814.816719] end_request: I/O error, dev rbd12, sector 2
Feb 17 16:24:07 fs02 kernel: [465814.837892] EXT3-fs (rbd12): error: unable to read superblock
Feb 17 16:24:07 fs02 kernel: [465814.860755] rbd: rbd12: beyond EOD (1024~1024 > 60)
Feb 17 16:24:07 fs02 kernel: [465814.860755]
Feb 17 16:24:07 fs02 kernel: [465814.860758] rbd: rbd12: read 400 at 400 result -5
Feb 17 16:24:07 fs02 kernel: [465814.860758]
Feb 17 16:24:07 fs02 kernel: [465814.860760] end_request: I/O error, dev rbd12, sector 2
Feb 17 16:24:07 fs02 kernel: [465814.881801] EXT4-fs (rbd12): unable to read superblock
Feb 17 16:24:07 fs02 kernel: [465814.902598] rbd: rbd12: beyond EOD (0~512 > 60)
Feb 17 16:24:07 fs02 kernel: [465814.902598]
Feb 17 16:24:07 fs02 kernel: [465814.902601] rbd: rbd12: read 200 at 0 result -5
Feb 17 16:24:07 fs02 kernel: [465814.902601]
Feb 17 16:24:07 fs02 kernel: [465814.902603] end_request: I/O error, dev rbd12, sector 0

This further causes the fs to hang, since it just gets EIO because krbd read the disk size as 60.
Check the locking around reading the mapping size (it can be changed by refresh).

Actions #1

Updated by Ian Colle about 10 years ago

  • Assignee set to Ilya Dryomov
Actions #2

Updated by Sage Weil about 10 years ago

  • Status changed from New to Can't reproduce
Actions

Also available in: Atom PDF