]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: sync read inline data
authorYan, Zheng <zyan@redhat.com>
Fri, 14 Nov 2014 14:36:18 +0000 (22:36 +0800)
committerIlya Dryomov <idryomov@redhat.com>
Wed, 17 Dec 2014 17:09:52 +0000 (20:09 +0300)
commit4f2b60206d2633c089686d1aff3fead0b353fbeb
tree45e0392da027efe21b3af9606ed10043ed093d1d
parentec05fe61d1e1fccbc106128776b85eedd38dc870
ceph: sync read inline data

we can't use getattr to fetch inline data while holding Fr cap,
because it can cause deadlock. If we need to sync read inline data,
drop cap refs first, then use getattr to fetch inline data.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/addr.c
fs/ceph/file.c