Project

General

Profile

Actions

Bug #1877

closed

ceph.ko (3.1.6) oopses upon cephfs set_layout of a symlink to a dir

Added by Alexandre Oliva over 12 years ago. Updated about 10 years ago.

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

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I moved elsewhere a directory that had a layout policy set. Later on, next time the mds lost directory policy information, I accidentally run an outdated version of the script to reset policies, and the host on which I ran it froze solid. After it rebooted, I could get it to freeze again running just the set_layout command for the symlink. Adjusting the script to set the policy on the moved dir rather than the symlink that took its place, the problem no longer occurred. Later on, I ran another test and the host did not freeze when I tried to set the policy on the symlink, so it doesn't seem to be 100% reproducible.

Recipe:

cd /mnt/ceph.ko/
mkdir a b
ln -s ../b a/c
cephfs a/c set_layout -u 4194304 -s 4194304 -c 1 -o -1 -p 9 # maybe replace with 0 if you don't have pool #9
Actions #1

Updated by Sage Weil about 12 years ago

  • Project changed from Ceph to Linux kernel client
Actions #2

Updated by Sage Weil about 12 years ago

  • Priority changed from Normal to High
Actions #3

Updated by Sage Weil almost 12 years ago

  • Priority changed from High to Normal
Actions #4

Updated by Ian Colle about 11 years ago

  • Project changed from Linux kernel client to CephFS
Actions #5

Updated by Greg Farnum about 10 years ago

  • Priority changed from Normal to High

Kernel client layout crash = high. Identify if this is still a problem, and if we can trigger it using the vxattrs as well as the cephfs tool, then evaluate priority based on results.

Actions #6

Updated by Zheng Yan about 10 years ago

  • Status changed from New to Can't reproduce
Actions

Also available in: Atom PDF