Re: sense handling improvements, part 2
> "Christoph" == Christoph Hellwigwrites: Christoph> No real changes, but I did an explicit rebase against the Christoph> 4.11/scsi-fixes branch. Applied to 4.11/scsi-fixes. -- Martin K. Petersen Oracle Linux Engineering
sense handling improvements, part 2
No real changes, but I did an explicit rebase against the 4.11/scsi-fixes branch.
Re: sense handling improvements
On Thu, Feb 23, 2017 at 09:28:20AM -0500, Martin K. Petersen wrote: > > "Christoph" == Christoph Hellwigwrites: > > Christoph, > > >> I applied 1-4 to 4.11/scsi-fixes. Both 5 and 6 had problems so please > >> fix those up. > > Christoph> What kind of problem? I didn't see anything on the list. > > They didn't apply. I tried to fix them up by hand. 5 was easy but 6 > caused a flurry of failures that I ran out of time to look into. > > So please resubmit 5 and 6 against 4.11/scsi-fixes. Ok, I'll take a look. They apply fine to mkp/for-next so there must be some other patches changing the code.
Re: sense handling improvements
> "Christoph" == Christoph Hellwigwrites: Christoph, >> I applied 1-4 to 4.11/scsi-fixes. Both 5 and 6 had problems so please >> fix those up. Christoph> What kind of problem? I didn't see anything on the list. They didn't apply. I tried to fix them up by hand. 5 was easy but 6 caused a flurry of failures that I ran out of time to look into. So please resubmit 5 and 6 against 4.11/scsi-fixes. -- Martin K. Petersen Oracle Linux Engineering
Re: sense handling improvements
On Wed, Feb 22, 2017 at 07:51:44PM -0500, Martin K. Petersen wrote: > I applied 1-4 to 4.11/scsi-fixes. Both 5 and 6 had problems so please > fix those up. What kind of problem? I didn't see anything on the list.
Re: sense handling improvements
> "Christoph" == Christoph Hellwigwrites: Christoph, >> I can bring them in after Linus' initial block pull. Christoph> Both the block and SCSI trees are now merged by Linus, and Christoph> Jens didn't pick up patch one from this series yet - maybe Christoph> it's best to send the whole series through the SCSI tree in Christoph> this case. I applied 1-4 to 4.11/scsi-fixes. Both 5 and 6 had problems so please fix those up. -- Martin K. Petersen Oracle Linux Engineering
Re: sense handling improvements
> "Christoph" == Christoph Hellwigwrites: >> I can bring them in after Linus' initial block pull. Christoph> Both the block and SCSI trees are now merged by Linus, and Christoph> Jens didn't pick up patch one from this series yet - maybe Christoph> it's best to send the whole series through the SCSI tree in Christoph> this case. Will do. -- Martin K. Petersen Oracle Linux Engineering
Re: sense handling improvements
On Wed, Feb 15, 2017 at 10:42:56PM -0500, Martin K. Petersen wrote: > > "Christoph" == Christoph Hellwigwrites: > > Christoph> this series is on top of the scsi_request changes in Jens' > Christoph> tree and further improves the handling of the sense buffer. > > Very nice cleanup! > > Christoph> The first patch prevents any possibily of reusing stale sense > Christoph> codes in sense headers, and is a bug fix that we should > Christoph> probably get into the block tree ASAP. > > Christoph> The rest cleans up handling of the parsed sense data and > Christoph> could go in either through the block tree, or a SCSI branch > Christoph> on top of the block tree. > > I can bring them in after Linus' initial block pull. Both the block and SCSI trees are now merged by Linus, and Jens didn't pick up patch one from this series yet - maybe it's best to send the whole series through the SCSI tree in this case.
Re: sense handling improvements
On Wed, Feb 15, 2017 at 10:42:56PM -0500, Martin K. Petersen wrote: > Christoph> The first patch prevents any possibily of reusing stale sense > Christoph> codes in sense headers, and is a bug fix that we should > Christoph> probably get into the block tree ASAP. > > Christoph> The rest cleans up handling of the parsed sense data and > Christoph> could go in either through the block tree, or a SCSI branch > Christoph> on top of the block tree. > > I can bring them in after Linus' initial block pull. That would be great.
Re: sense handling improvements
> "Christoph" == Christoph Hellwigwrites: Christoph> this series is on top of the scsi_request changes in Jens' Christoph> tree and further improves the handling of the sense buffer. Very nice cleanup! Christoph> The first patch prevents any possibily of reusing stale sense Christoph> codes in sense headers, and is a bug fix that we should Christoph> probably get into the block tree ASAP. Christoph> The rest cleans up handling of the parsed sense data and Christoph> could go in either through the block tree, or a SCSI branch Christoph> on top of the block tree. I can bring them in after Linus' initial block pull. -- Martin K. Petersen Oracle Linux Engineering
Re: sense handling improvements
On Wed, 2017-02-15 at 16:04 +0100, Christoph Hellwig wrote: > On Wed, Feb 15, 2017 at 09:19:18AM +0100, Hannes Reinecke wrote: > > On 02/14/2017 08:15 PM, Christoph Hellwig wrote: > > > Hi all, > > > > > > this series is on top of the scsi_request changes in Jens' tree and > > > further improves the handling of the sense buffer. > > > > > > > Sorry, but I'm feeling really daft: which scsi_request changes? > > That is the "split scsi passthrough fields out of struct request" > series. > > > To be found in which tree? > > Jens' for-next tree, as mentioned above. Hello Christoph, Are you aware that "split scsi passthrough fields out of struct request" series introduces a new bug, a bug that I have already reported but that has not yet been addressed? See also https://www.spinics.net/lists/raid/msg55494.html. Bart.
Re: sense handling improvements
On Wed, Feb 15, 2017 at 09:19:18AM +0100, Hannes Reinecke wrote: > On 02/14/2017 08:15 PM, Christoph Hellwig wrote: > > Hi all, > > > > this series is on top of the scsi_request changes in Jens' tree and > > further improves the handling of the sense buffer. > > > Sorry, but I'm feeling really daft: which scsi_request changes? That is the "split scsi passthrough fields out of struct request" series. > To be found in which tree? Jens' for-next tree, as mentioned above. > Have we audited all drivers to _not_ do DMA into the sense buffer? > By first glance some still do, so they'll break horribly when moving the > sense buffer onto the stack ... With the above series the sense buffer is allocate by the driver, and they will always DMA into that.
Re: sense handling improvements
On 02/14/2017 08:15 PM, Christoph Hellwig wrote: > Hi all, > > this series is on top of the scsi_request changes in Jens' tree and > further improves the handling of the sense buffer. > Sorry, but I'm feeling really daft: which scsi_request changes? To be found in which tree? I dimly remember seeing them, but have been unable to find them again. > The first patch prevents any possibily of reusing stale sense codes > in sense headers, and is a bug fix that we should probably get into > the block tree ASAP. > > The rest cleans up handling of the parsed sense data and could go in > either through the block tree, or a SCSI branch on top of the block > tree. > Have we audited all drivers to _not_ do DMA into the sense buffer? By first glance some still do, so they'll break horribly when moving the sense buffer onto the stack ... Cheers, Hannes -- Dr. Hannes ReineckeTeamlead Storage & Networking h...@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)
sense handling improvements
Hi all, this series is on top of the scsi_request changes in Jens' tree and further improves the handling of the sense buffer. The first patch prevents any possibily of reusing stale sense codes in sense headers, and is a bug fix that we should probably get into the block tree ASAP. The rest cleans up handling of the parsed sense data and could go in either through the block tree, or a SCSI branch on top of the block tree.