Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1624858

Re: [PATCH] scsi: storvsc: Allow only one remove lun work item to be issued per lun

From Cathy Avery <cavery@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] scsi: storvsc: Allow only one remove lun work item to be issued per lun
Date 2017-04-17 21:50 +0200
Message-ID <txkOR-4K8-1@gated-at.bofh.it> (permalink)
References <twwfo-79C-5@gated-at.bofh.it> <twwyK-7vz-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 04/15/2017 10:06 AM, Christoph Hellwig wrote:
> Just add a singlethreaded workqueue for storvsc_handle_error and you'll
> get serialization for all error handling for free.

The problem I am seeing is that many work items can be queued up for the 
same lun before it goes away. The single threaded queue would have to allow
for only a queue of one and no more. Either that or each work item for a 
particular lun must have the same memory address so it gets
rejected if it you try to queue a remove to the same lun twice.

Maybe I am not understanding your suggestion correctly.

Thanks,

Cathy

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] scsi: storvsc: Allow only one remove lun work item to be issued per lun Cathy Avery <cavery@redhat.com> - 2017-04-15 15:50 +0200
  Re: [PATCH] scsi: storvsc: Allow only one remove lun work item to be  issued per lun Christoph Hellwig <hch@infradead.org> - 2017-04-15 16:10 +0200
    Re: [PATCH] scsi: storvsc: Allow only one remove lun work item to be  issued per lun Cathy Avery <cavery@redhat.com> - 2017-04-17 21:50 +0200

csiph-web