OSDN Git Service

rbd: harden rbd_dev_refresh() and callers a bit
authorIlya Dryomov <ilya.dryomov@inktank.com>
Wed, 23 Jul 2014 13:11:20 +0000 (17:11 +0400)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 25 Jul 2014 09:15:44 +0000 (13:15 +0400)
commit52bb1f9bed796127e8b446b12e5b834026241cdd
tree82dd5d22f374c7039ca1485b7eeffc97bebbf271
parent0407759971cdbd302e0efcb03ff9435a0d3db3ab
rbd: harden rbd_dev_refresh() and callers a bit

Recently discovered watch/notify problems showed that we really can't
ignore errors in anything refresh related.  Alas, currently there is
not much we can do in response to those errors, except print warnings.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
drivers/block/rbd.c