]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: don't retry watch reregistration if header object is gone
authorIlya Dryomov <idryomov@gmail.com>
Thu, 29 Sep 2016 12:23:12 +0000 (14:23 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Sat, 15 Oct 2016 21:22:09 +0000 (23:22 +0200)
commit8079a346607e6dfdbc0b135dee5a0cc7fa113f42
tree79f203946794f37fe21e7eb6ba4c9971b6f8c16c
parent42505e6bbc176befaa74ac75b4fa1979d0531006
rbd: don't retry watch reregistration if header object is gone

If the header object gets deleted (perhaps along with the entire pool),
there is no point in attempting to reregister the watch.  Treat this
the same as blacklisting: fail all pending and new I/Os requiring the
lock.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c