commit | 87c0fded852ae20bddb7833da6ead082404de86a | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Thu Sep 29 13:41:05 2016 +0200 |
committer | Ilya Dryomov <idryomov@gmail.com> | Sat Oct 15 23:21:56 2016 +0200 |
tree | 8e33c3001f2fa9d0a7230ff2c191bace737da699 | |
parent | 1001354ca34179f3db924eb66672442a173147dc [diff] |
rbd: don't wait for the lock forever if blacklisted -EBLACKLISTED from __rbd_register_watch() means that our ceph_client got blacklisted - we won't be able to restore the watch and reacquire the lock. Wake up and fail all outstanding requests waiting for the lock and arrange for all new requests that require the lock to fail immediately. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Tested-by: Mike Christie <mchristi@redhat.com>