Revision 5ef50c3bec20060bc114f62d6503c5d86d70bdd7 authored by Sage Weil on 31 July 2012, 18:27:36 UTC, committed by Sage Weil on 02 August 2012, 16:11:19 UTC
The initial ->atomic_open op was carried over from the old intent code,
which was incomplete and didn't really work.  Replace it with a fresh
method.  In particular:

 * always attempt to do an atomic open+lookup, both for the create case
   and for lookups of existing files.
 * fix symlink handling by returning 1 to the VFS so that we can follow
   the link to its destination. This fixes a longstanding ceph bug (#2392).

Signed-off-by: Sage Weil <sage@inktank.com>
1 parent 1a9b499
History
File Mode Size
Kconfig -rw-r--r-- 947 bytes
Makefile -rw-r--r-- 268 bytes
acl.c -rw-r--r-- 8.7 KB
acl.h -rw-r--r-- 1.4 KB
cache.c -rw-r--r-- 10.3 KB
cache.h -rw-r--r-- 4.1 KB
fid.c -rw-r--r-- 7.1 KB
fid.h -rw-r--r-- 1.8 KB
v9fs.c -rw-r--r-- 13.7 KB
v9fs.h -rw-r--r-- 7.3 KB
v9fs_vfs.h -rw-r--r-- 3.7 KB
vfs_addr.c -rw-r--r-- 8.2 KB
vfs_dentry.c -rw-r--r-- 3.5 KB
vfs_dir.c -rw-r--r-- 6.9 KB
vfs_file.c -rw-r--r-- 18.3 KB
vfs_inode.c -rw-r--r-- 34.4 KB
vfs_inode_dotl.c -rw-r--r-- 25.3 KB
vfs_super.c -rw-r--r-- 8.6 KB
xattr.c -rw-r--r-- 4.3 KB
xattr.h -rw-r--r-- 1.2 KB
xattr_user.c -rw-r--r-- 2.0 KB

back to top