Bug #1877
closedceph.ko (3.1.6) oopses upon cephfs set_layout of a symlink to a dir
0%
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
Updated by Sage Weil about 12 years ago
- Project changed from Ceph to Linux kernel client
Updated by Ian Colle about 11 years ago
- Project changed from Linux kernel client to CephFS
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.
Updated by Zheng Yan about 10 years ago
- Status changed from New to Can't reproduce