Re: [PATCH v6 0/7] scsi_io_completion cleanup

2018-06-26 Thread Martin K. Petersen
Douglas, > This patch refactors scsi_io_completion() by taking the bulk of its > error processing code into three static helper functions, leaving only > the 20 or so code lines that constitute the fastpath. In this process > comments were added and tweaked, plus variables renamed. The last two

[PATCH v6 0/7] scsi_io_completion cleanup

2018-06-23 Thread Douglas Gilbert
While working of this "[PATCH v4] Make SCSI Status CONDITION MET equivalent to GOOD" the author had trouble finding how to add another corner case check in the scsi_io_completion() function (scsi_lib.c). That function is executed at the completion of every SCSI command but only 20 or so of its