* [PATCH 0/2] scsi_dh patchset fixes
@ 2008-07-04 13:45 Hannes Reinecke
2008-07-04 15:05 ` James Bottomley
0 siblings, 1 reply; 3+ messages in thread
From: Hannes Reinecke @ 2008-07-04 13:45 UTC (permalink / raw)
To: James Bottomley, SCSI Mailing List
Hi James,
these patches just fix the suggestions made by you and Mike C.
- Check the return code from try_module_get()
- Use GFP_ATOMIC in the IO path
Patches apply on top of my previous patchset for the scsi_dh fixes.
Please apply.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 0/2] scsi_dh patchset fixes
2008-07-04 13:45 [PATCH 0/2] scsi_dh patchset fixes Hannes Reinecke
@ 2008-07-04 15:05 ` James Bottomley
2008-07-09 7:17 ` Hannes Reinecke
0 siblings, 1 reply; 3+ messages in thread
From: James Bottomley @ 2008-07-04 15:05 UTC (permalink / raw)
To: Hannes Reinecke; +Cc: SCSI Mailing List
On Fri, 2008-07-04 at 15:45 +0200, Hannes Reinecke wrote:
> Hi James,
>
> these patches just fix the suggestions made by you and Mike C.
> - Check the return code from try_module_get()
> - Use GFP_ATOMIC in the IO path
I thought the final agreement was that these should be GFP_NOIO?
> Patches apply on top of my previous patchset for the scsi_dh fixes.
Could you not do this? The GFP_KERNEL will spit might sleep warnings on
certain configs and the try_module_get could cause an oops on removal.
Either of these might confuse a bisection search if it accidentally
landed in them. In general, for unapplied patches with identified bugs,
the patches should be fixed before applying.
Thanks,
James
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 0/2] scsi_dh patchset fixes
2008-07-04 15:05 ` James Bottomley
@ 2008-07-09 7:17 ` Hannes Reinecke
0 siblings, 0 replies; 3+ messages in thread
From: Hannes Reinecke @ 2008-07-09 7:17 UTC (permalink / raw)
To: James Bottomley; +Cc: SCSI Mailing List
Hi James,
James Bottomley wrote:
> On Fri, 2008-07-04 at 15:45 +0200, Hannes Reinecke wrote:
>> Hi James,
>>
>> these patches just fix the suggestions made by you and Mike C.
>> - Check the return code from try_module_get()
>> - Use GFP_ATOMIC in the IO path
>
> I thought the final agreement was that these should be GFP_NOIO?
>
Ok, will do so.
>> Patches apply on top of my previous patchset for the scsi_dh fixes.
>
> Could you not do this? The GFP_KERNEL will spit might sleep warnings on
> certain configs and the try_module_get could cause an oops on removal.
> Either of these might confuse a bisection search if it accidentally
> landed in them. In general, for unapplied patches with identified bugs,
> the patches should be fixed before applying.
>
Whatever you say :-)
I'll redo the patchset.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-07-09 7:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-04 13:45 [PATCH 0/2] scsi_dh patchset fixes Hannes Reinecke
2008-07-04 15:05 ` James Bottomley
2008-07-09 7:17 ` Hannes Reinecke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).