linux_dsm_epyc7002/fs/ceph
Jeff Layton 785892fe88 ceph: cache layout in parent dir on first sync create
If a create is done, then typically we'll end up writing to the file
soon afterward. We don't want to wait for the reply before doing that
when doing an async create, so that means we need the layout for the
new file before we've gotten the response from the MDS.

All files created in a directory will initially inherit the same layout,
so copy off the requisite info from the first synchronous create in the
directory, and save it in a new i_cached_layout field. Zero out the
layout when we lose Dc caps in the dir.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2020-03-30 12:42:42 +02:00
..
acl.c
addr.c ceph: switch to page_mkwrite_check_truncate in ceph_page_mkwrite 2020-03-30 12:42:41 +02:00
cache.c ceph: replace zero-length array with flexible-array member 2020-03-30 12:42:40 +02:00
cache.h
caps.c ceph: cache layout in parent dir on first sync create 2020-03-30 12:42:42 +02:00
ceph_frag.c
debugfs.c libceph: drop CEPH_DEFINE_SHOW_FUNC 2020-03-30 12:42:40 +02:00
dir.c ceph: perform asynchronous unlink if we have sufficient caps 2020-03-30 12:42:42 +02:00
export.c
file.c ceph: cache layout in parent dir on first sync create 2020-03-30 12:42:42 +02:00
inode.c ceph: cache layout in parent dir on first sync create 2020-03-30 12:42:42 +02:00
io.c
io.h
ioctl.c
ioctl.h
Kconfig
locks.c ceph: check if file lock exists before sending unlock request 2020-03-30 12:42:40 +02:00
Makefile
mds_client.c ceph: cache layout in parent dir on first sync create 2020-03-30 12:42:42 +02:00
mds_client.h ceph: add new MDS req field to hold delegated inode number 2020-03-30 12:42:42 +02:00
mdsmap.c
quota.c
snap.c ceph: fix memory leak in ceph_cleanup_snapid_map() 2020-03-23 13:07:08 +01:00
strings.c
super.c ceph: perform asynchronous unlink if we have sufficient caps 2020-03-30 12:42:42 +02:00
super.h ceph: cache layout in parent dir on first sync create 2020-03-30 12:42:42 +02:00
util.c
xattr.c