[PATCH 0/2] rbd: tear down watch request if rbd_dev_device_setup() fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Currently, if rbd_dev_device_setup() fails, we don't tear down our
watch request.  Looks like this bug was introduced by 1f3ef78861ac,
which moved a tear down call while fixing something else.  Fix it.

These patches can be pulled from wip-rbd-unwatch branch of
ceph-client.git.

Thanks,

                Ilya


Ilya Dryomov (2):
  rbd: introduce rbd_dev_header_unwatch_sync() and switch to it
  rbd: tear down watch request if rbd_dev_device_setup() fails

 drivers/block/rbd.c |   41 ++++++++++++++++++++++++++++-------------
 1 file changed, 28 insertions(+), 13 deletions(-)

-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux