Re: [PATCH REPOST 1/2] rbd: make exists flag atomic

2013-01-15 Thread Josh Durgin
On 01/03/2013 02:53 PM, Alex Elder wrote: The rbd_device-exists field can be updated asynchronously, changing from set to clear if a mapped snapshot disappears from the base image's snapshot context. Currently, value of the exists flag is only read and modified under protection of the header

[PATCH REPOST 1/2] rbd: make exists flag atomic

2013-01-03 Thread Alex Elder
The rbd_device-exists field can be updated asynchronously, changing from set to clear if a mapped snapshot disappears from the base image's snapshot context. Currently, value of the exists flag is only read and modified under protection of the header semaphore, but that will change with the next