android_kernel_motorola_sm6375/fs/ceph
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jeff Layton 5eb9f6040f ceph: do a LOOKUP in d_revalidate instead of GETATTR
In commit c3f4688a08 (ceph: don't set req->r_locked_dir in
ceph_d_revalidate), we changed the code to do a GETATTR instead of a
LOOKUP as the parent info isn't strictly necessary to revalidate the
dentry. What we missed there though is that in order to update the lease
on the dentry after revalidating it, we _do_ need parent info.

Change ceph_d_revalidate back to doing a LOOKUP instead of a GETATTR so
that we can get the parent info in order to update the lease from
ceph_fill_trace. Note that we set req->r_parent here, but we cannot set
the CEPH_MDS_R_PARENT_LOCKED flag as we can't guarantee that it is.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-02-20 12:16:10 +01:00
..
acl.c
addr.c ceph: update readpages osd request according to size of pages 2017-02-20 12:16:07 +01:00
cache.c ceph: fix spelling mistake: "enabing" -> "enabling" 2017-02-20 12:16:05 +01:00
cache.h
caps.c ceph: avoid calling ceph_renew_caps() infinitely 2017-02-20 12:16:07 +01:00
ceph_frag.c
debugfs.c ceph: convert bools in ceph_mds_request to a new r_req_flags field 2017-02-20 12:16:08 +01:00
dir.c ceph: do a LOOKUP in d_revalidate instead of GETATTR 2017-02-20 12:16:10 +01:00
export.c ceph: add a new flag to indicate whether parent is locked 2017-02-20 12:16:08 +01:00
file.c ceph: add a new flag to indicate whether parent is locked 2017-02-20 12:16:08 +01:00
inode.c ceph: call update_dentry_lease even when r_locked dir is not set 2017-02-20 12:16:10 +01:00
ioctl.c ceph: fix bogus endianness change in ceph_ioctl_set_layout 2017-02-20 12:16:07 +01:00
ioctl.h
Kconfig
locks.c ceph: fix mandatory flock check 2016-10-03 16:13:49 +02:00
Makefile
mds_client.c ceph: add a new flag to indicate whether parent is locked 2017-02-20 12:16:08 +01:00
mds_client.h ceph: add a new flag to indicate whether parent is locked 2017-02-20 12:16:08 +01:00
mdsmap.c ceph: check availability of mds cluster on mount 2016-12-12 23:54:27 +01:00
snap.c ceph: record truncate size/seq for snap data writeback 2016-12-12 23:54:27 +01:00
strings.c ceph: handle CEPH_SESSION_REJECT message 2016-10-03 16:13:50 +02:00
super.c ceph: set io_pages bdi hint 2017-02-20 12:16:05 +01:00
super.h ceph: drop session argument to ceph_fill_trace 2017-02-20 12:16:08 +01:00
xattr.c ceph: fix non static symbol warning 2016-10-18 12:30:32 +02:00