Project

General

Profile

Bug #55110

mount.ceph: mount helper incorrectly passes `ms_mode' mount option to older kernel

Added by Venky Shankar 8 months ago. Updated 4 months ago.

Status:
Pending Backport
Priority:
High
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
backport_processed
Backport:
quincy
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

seen here - http://pulpito.front.sepia.ceph.com/yuriw-2022-03-28_19:24:40-smoke-quincy-distro-default-smithi/6765567/

kernel used - v5.4-generic, which does no understand `ms_mode' mount option (that was added in 5.11+).

This causes mount failures when falling back to older mount syntax. Fix is to not pass `ms_mode' mount option when using older mount syntax iff the user has not explicitly specified a `ms_mode'.


Related issues

Copied to CephFS - Backport #55264: quincy: mount.ceph: mount helper incorrectly passes `ms_mode' mount option to older kernel In Progress

History

#1 Updated by Venky Shankar 8 months ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 45689

#2 Updated by Venky Shankar 8 months ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Backport Bot 8 months ago

  • Copied to Backport #55264: quincy: mount.ceph: mount helper incorrectly passes `ms_mode' mount option to older kernel added

#4 Updated by Backport Bot 4 months ago

  • Tags set to backport_processed

Also available in: Atom PDF