Project

General

Profile

Bug #27657

mds: retry remounting in ceph-fuse on dcache invalidation

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

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
Start date:
08/27/2018
Due date:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
luminous,mimic
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
ceph-fuse
Labels (FS):
crash
Pull request ID:

Description

Right now, failure in remounting on dcache invalidation results in the following crash:

1: (()+0x6d1ff4) [0x55f21052fff4]
2: (()+0x11390) [0x7f7f92e11390]
3: (gsignal()+0x38) [0x7f7f91b9d428]
4: (abort()+0x16a) [0x7f7f91b9f02a]
5: (Client::_do_remount()+0x303) [0x55f2100ee8a3]
6: (Context::complete(int)+0x9) [0x55f2100f0bb9]
7: (Finisher::finisher_thread_entry()+0x460) [0x55f21015bbd0]
8: (()+0x76ba) [0x7f7f92e076ba]
9: (clone()+0x6d) [0x7f7f91c6f41d]

This was seen in luminous but exists in master too. errno returned is 12, but mount(3) return codes are ORed (Thanks Patrick).

For the fix -- its best to not abort and retry the remount operation. Also, fix how errno is interpreted in this case.


Related issues

Copied to fs - Backport #35931: luminous: mds: retry remounting in ceph-fuse on dcache invalidation Resolved
Copied to fs - Backport #35932: mimic: mds: retry remounting in ceph-fuse on dcache invalidation In Progress

History

#1 Updated by Venky Shankar 4 months ago

  • Status changed from New to In Progress

#2 Updated by Venky Shankar 4 months ago

  • Backport set to luminous,mimic

#3 Updated by Venky Shankar 3 months ago

  • Status changed from In Progress to Need Review

#4 Updated by Patrick Donnelly 3 months ago

  • Status changed from Need Review to Pending Backport

#5 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #35931: luminous: mds: retry remounting in ceph-fuse on dcache invalidation added

#6 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #35932: mimic: mds: retry remounting in ceph-fuse on dcache invalidation added

Also available in: Atom PDF