Project

General

Profile

Bug #6930

Folders report "Not a folder" in Kernel 3.13-rc1 and -rc2

Added by Malcolm Haak over 10 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

Seems to be a regression in the 3.13-rc1 and -rc2 kernels

When you mount a filesystem is mounts fine. dmesg is clean
You can cd into the mount point but to move into folders below that you get the "Not a folder" error.

As you can see in the below ls the folders are reporting somewhat correctly.

root@linux-549s { /home/malcolm/Ceph }# ls -la
total 16K
drwxrwxr-x 1 malcolm 1000 1.8T Dec 4 20:21 ./
drwxr-xr-x 150 malcolm users 12K Dec 4 20:22 ../
drwxr-xr-x 1 root root 104G Nov 24 00:38 Photos/
drwxr-xr-x 1 root root 0 Nov 23 22:22 test/
drwxr-xr-x 1 root root 0 Dec 4 20:21 test2/
drwxrwxrwx 1 root root 1.7T Nov 25 23:43 videos/

Creating new folders is possible

root@linux-549s { /home/malcolm/Ceph }# mkdir test3
root@linux-549s { /home/malcolm/Ceph }# ls -la
total 16K
drwxrwxr-x 1 malcolm 1000 1.8T Dec 4 20:49 ./
drwxr-xr-x 150 malcolm users 12K Dec 4 20:22 ../
drwxr-xr-x 1 root root 104G Nov 24 00:38 Photos/
drwxr-xr-x 1 root root 0 Nov 23 22:22 test/
drwxr-xr-x 1 root root 0 Dec 4 20:21 test2/
drwxr-xr-x 1 root root 0 Dec 4 20:49 test3/
drwxrwxrwx 1 root root 1.7T Nov 25 23:43 videos/

But actually using new folders

root@linux-549s { /home/malcolm/Ceph }# cd test3
bash: cd: test3: Not a directory

Doesn't work.

I can roll back to a stable 3.12 so its not an issue but I figured I'd raise a bug about it as it is one.

History

#1 Updated by To Pro over 10 years ago

I'm encountering the very same issue when trying to mount cephfs (0.72.1) from a kernel-client using linus' plain linux-3.13-rc4. All nodes involved running Debian Wheezy, ceph packages installed from ceph.com/debian-emperor. Working fine with linux-3.12 so I could revert to it, but that way I'm missing crucial cephfs kernel client fixes which got merged into linux-3.13.

#2 Updated by To Pro over 10 years ago

Found a hint that this error might not be directly related to the latest ceph-client merge into linux mainline, as Malcolm reported this issues to occur beginning with linux-3.13-rc1 (see above). But latest ceph-client changes only got merged to linux-3.13-rc2. So if statement about rc1 is correct (Malcom, can you stress that?), obviously another change in linux-3.13-rc1 created an incompatibility with current ceph-client code.

#3 Updated by Sage Weil over 10 years ago

this went into linus' tree yesterday, commit:a5905a92

#4 Updated by Sage Weil over 10 years ago

  • Status changed from New to Resolved

#5 Updated by To Pro over 10 years ago

After compiling and testing current kernel from linus git, I can confirm that the changes merged by linus yesterday fixed this one for me.
Thank you!

#6 Updated by Greg Farnum over 7 years ago

  • Component(FS) kceph added

Also available in: Atom PDF