[Stgt-devel] [PATCH] Fix online/offline status during backing store change.

FUJITA Tomonori fujita.tomonori
Sat Jul 19 17:43:40 CEST 2008


On Fri, 18 Jul 2008 18:10:01 +1000
Mark Harvey <markh794 at gmail.com> wrote:

> >From 5009444e0ca0dfaa85f72f1de391682f63cc93cb Mon Sep 17 00:00:00 2001
> From: Mark Harvey <markh794 at gmail.com>
> Date: Fri, 18 Jul 2008 17:50:28 +1000
> Subject: device_path_update: Set status to Offline before closing backing store.
> 
> Toggle offline status before closing backing file.

Thanks, applied.


> Potential race ?? if other commands arrive and attempt to use backing file
> after it has been closed.

Yeah, I think that I've not fixed this yet. We need to check out a
logical unit before queuing a command to it (and return an appropriate
response if the device is offline).



More information about the stgt mailing list