]> 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)
commit62ed7887c198cb37cb0c09e44f98b252e24eb206
tree45e0392da027efe21b3af9606ed10043ed093d1d
parentb18291b38b6a7220c816dcfa9738ee083900afde
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