[..] > > > Actually it should be an endpoint specific setting. > > > > Actually there is no connection to the endpoint from a driver point of > > view. Any protocol to do data transmission for storage devices uses at > > least two endpoints. During data transmission using any of these > > endpoints there's a risk. > > So it is a interface specific setting from the drivers point of view. Yes, that is best. > > As soon as the device is open we must no longer use GFP_KERNEL. A device > > specific flag could do that. For 2.4 this probably is the easiest > > solution. For 2.5 I feel strongly that added parameters to the API calls > > is the way to go. > > One more thing that can be inconsistent at > different URBs for the same endpoint. Is that bad ? Different URBs may have different requirements. An URB needed to do actual block device io needs GFP_NOIO. An URB needed to export some information through a proc entry may use GFP_KERNEL. There's no need to stress memory management more than we have to. Regards Oliver _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
- Fwd: Re: [linux-usb-devel] Re: usb-storage not suitable... Oliver Neukum
- Re: [linux-usb-devel] Re: usb-storage not suitable for ... Matthew Dharm
- Re: [linux-usb-devel] Re: usb-storage not suitable... Oliver Neukum
- Re: [linux-usb-devel] Re: usb-storage not suitable... Pavel Machek
- Re: [linux-usb-devel] Re: usb-storage not suitable for ... David Brownell
- Re: [linux-usb-devel] Re: usb-storage not suitable for ... Oliver Neukum
- Re: [linux-usb-devel] Re: usb-storage not suitable for ... Roman Weissgaerber
- Re: [linux-usb-devel] Re: usb-storage not suitable for ... Oliver Neukum
- Re: [linux-usb-devel] Re: usb-storage not suitable for ... Roman Weissgaerber
- Re: [linux-usb-devel] Re: usb-storage not suitable... Oliver Neukum
- Re: [linux-usb-devel] Re: usb-storage not suitable for ... David Brownell
- Re: [linux-usb-devel] Re: usb-storage not suitable for ... David Brownell
- Re: [linux-usb-devel] Re: usb-storage not suitable... Roman Weissgaerber
- Re: [linux-usb-devel] Re: usb-storage not suit... Roman Weissgaerber
- Re: [linux-usb-devel] Re: usb-storage not suitable for ... Oliver Neukum
- Re: [linux-usb-devel] Re: usb-storage not suitable for ... Pavel Machek
- Re: [linux-usb-devel] Re: usb-storage not suitable for ... David Brownell
- Re: [linux-usb-devel] Re: usb-storage not suitable for ... Pavel Machek
- Re: [linux-usb-devel] Re: usb-storage not suitable... Oliver Neukum
- Re: [linux-usb-devel] Re: usb-storage not suitable for ... Pavel Machek