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
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.4 KB |
Makefile | -rw-r--r-- | 265 bytes |
bind.c | -rw-r--r-- | 7.0 KB |
daemon.c | -rw-r--r-- | 16.5 KB |
interface.c | -rw-r--r-- | 12.6 KB |
internal.h | -rw-r--r-- | 10.7 KB |
key.c | -rw-r--r-- | 3.7 KB |
main.c | -rw-r--r-- | 2.5 KB |
namei.c | -rw-r--r-- | 24.6 KB |
proc.c | -rw-r--r-- | 3.1 KB |
rdwr.c | -rw-r--r-- | 24.5 KB |
security.c | -rw-r--r-- | 2.8 KB |
xattr.c | -rw-r--r-- | 6.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...