Re: [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]

 



On 12/16/2013 12:05 PM, Ilya Dryomov wrote:
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(-)


These look good to me.

Reviewed-by: Josh Durgin <josh.durgin@xxxxxxxxxxx>
--
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