summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-05-06 22:40:33 (GMT)
committerAlex Elder <elder@inktank.com>2013-05-09 01:16:55 (GMT)
commit1f3ef78861ac4b510175e177899b9b5ba4bbed91 (patch)
treeedf2c0b20d647f495bf7d596f72b08349115d772 /drivers/spi
parent7ce4eef7b5fad73b365b7e4b8892af3af72d4bd3 (diff)
downloadlinux-fsl-qoriq-1f3ef78861ac4b510175e177899b9b5ba4bbed91.tar.xz
rbd: only set up watch for mapped images
Any changes to parent images are immaterial to any mapped clone. So there is no need to have a watch event registered on header objects except for the header object of an image that is mapped. In fact, a watch request is a write operation, and we may only have read access to a parent image. We can't set up the watch request until we know the name of the header object though. So pass a flag to rbd_dev_image_probe() to indicate whether this probe is for a mapping or for a parent image. Change the second parameter to rbd_dev_header_watch_sync() be Boolean while we're at it. This resolves: http://tracker.ceph.com/issues/4941 Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions