Project

General

Profile

Bug #22131

[rbd-nbd] Fedora does not register resize events

Added by Jason Dillaman about 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:

0%

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

Description

When an image is resized, "/sys/block/nbdX/size" is updated correctly but the associated "/dev/nbdX" will still show the old size. Forcing the kernel to rescan the partition table seems to address this issue. There is also a race condition possible between invalidating the cache and in-flight readahead that can cause a deadlock.


Related issues

Copied to rbd - Backport #22172: luminous: [rbd-nbd] Fedora does not register resize events Resolved
Copied to rbd - Backport #22173: jewel: [rbd-nbd] Fedora does not register resize events Resolved

History

#1 Updated by Jason Dillaman about 5 years ago

  • Status changed from In Progress to Fix Under Review

#2 Updated by Mykola Golub about 5 years ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Nathan Cutler about 5 years ago

  • Copied to Backport #22172: luminous: [rbd-nbd] Fedora does not register resize events added

#4 Updated by Nathan Cutler about 5 years ago

  • Copied to Backport #22173: jewel: [rbd-nbd] Fedora does not register resize events added

#5 Updated by Nathan Cutler almost 5 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF