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-- | 532 bytes |
Makefile | -rw-r--r-- | 274 bytes |
compr.c | -rw-r--r-- | 1.8 KB |
dev_bdev.c | -rw-r--r-- | 8.4 KB |
dev_mtd.c | -rw-r--r-- | 6.6 KB |
dir.c | -rw-r--r-- | 20.7 KB |
file.c | -rw-r--r-- | 7.2 KB |
gc.c | -rw-r--r-- | 20.2 KB |
inode.c | -rw-r--r-- | 10.8 KB |
journal.c | -rw-r--r-- | 23.7 KB |
logfs.h | -rw-r--r-- | 23.8 KB |
logfs_abi.h | -rw-r--r-- | 16.8 KB |
readwrite.c | -rw-r--r-- | 55.8 KB |
segment.c | -rw-r--r-- | 24.3 KB |
super.c | -rw-r--r-- | 16.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...