ceph: fix inode number handling on arches with 32-bit ino_t
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
High
|
Skipper Bug Screeners | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Canonical Kernel Team | ||
Focal |
Fix Released
|
Medium
|
Frank Heimes | ||
Groovy |
Fix Released
|
Undecided
|
Canonical Kernel Team |
Bug Description
SRU Justification:
==================
[Impact]
* A problem occurs with 32-bit ino_t values on 64-bit architectures (like s390x).
* Without this patch, cephfs kernel client does not work properly on s390x: the initial symtom is missing the first created file/directory on cephfs mount point as reported in https:/
[Fix]
* cherry-pick for groovy: ebce3eb2f7ef9f6
* backport for focal: https:/
[Test Case]
* IBM Development team and Test team have carried out simple testing and stress testing by automatically creating many Ceph clusters on s390x (with different configuration each time), doing the cephfs kernel mounting, checking inode numbers, running stress tests. The same procedures were done on x86_64 arch by Test team.
[Regression Potential]
* There is a certain regression risk with this patch, since:
* common ceph filesystem code in fs/ceph/ is modified
* the inode handling is touched
* ceph is used for supplemental volumes
* and as the original author of this patch (Jeff Layton) wrote in the commit message, the potential issue might happen on 32-bit arches only and he also provided workaround for those arches.
[Other]
* The above patch/commit was upstream accepted with kernel 5.9.
* Cherry picking the patch/commit to groovy works fine, hence this SRU.
* For focal a cherry pick does not apply cleanly, hence a backport got added to LP 1899582.
__________
Backport provided for git-commit to 20.04 kernel.
Backport patch attached for commit ebce3eb upstream.
It was applied and tested on top of Ubuntu commit :
linux (5.4.0-48.52) focal; urgency=medium
CVE References
Changed in ubuntu-z-systems: | |
importance: | Undecided → High |
affects: | ceph (Ubuntu) → linux (Ubuntu) |
Changed in ubuntu-z-systems: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
Changed in linux (Ubuntu Groovy): | |
assignee: | Skipper Bug Screeners (skipper-screen-team) → nobody |
Changed in linux (Ubuntu Groovy): | |
status: | Incomplete → New |
Changed in ubuntu-z-systems: | |
status: | New → Triaged |
description: | updated |
Changed in linux (Ubuntu Focal): | |
assignee: | nobody → Frank Heimes (fheimes) |
Changed in linux (Ubuntu Groovy): | |
assignee: | nobody → Frank Heimes (fheimes) |
description: | updated |
description: | updated |
Changed in linux (Ubuntu Focal): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
Default Comment by Bridge