On Mon, Sep 30, 2013 at 10:15:57PM -0700, Josh Durgin wrote: > Running with lockdep showed that there were problems holding > rbd_dev->lock while doing in the BLKROSET ioctl patch. Fix this, and > clean up the initial read-only setting to occur during device > initialization instead of every time the device is opened. > > These are also available in the wip-rbd-ro branch of ceph-client.git. > > Josh Durgin (2): > rbd: move calls that may sleep out of spin lock range > rbd: only set disk to read-only once Both look good. > > drivers/block/rbd.c | 38 ++++++++++++++++++++++++-------------- > 1 files changed, 24 insertions(+), 14 deletions(-) > > -- > 1.7.2.5 > > -- > 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 -- Best regards, Guangliang -- 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