ceph: re-send AIO write request when getting -EOLDSNAP error
authorYan, Zheng <zyan@redhat.com>
Thu, 24 Dec 2015 00:44:20 +0000 (08:44 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 21 Jan 2016 18:36:08 +0000 (19:36 +0100)
commit5be0389dac662995eade757ec678931f0be23d33
tree89951af8adafe581682591bf755006a60517edb5
parentc8fe9b17d055fe80e1a1591f5900ce41fbf6b796
ceph: re-send AIO write request when getting -EOLDSNAP error

When receiving -EOLDSNAP from OSD, we need to re-send corresponding
write request. Due to locking issue, we can send new request inside
another OSD request's complete callback. So we use worker to re-send
request for AIO write.

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