Re: [PATCH RFC 0/3] simple copy offloading system call

2015-05-06 Thread Michael Kerrisk
[CC += linux-...@vger.kernel.org] Zach, Since this is a kernel-user-space API change, please CC linux-api@. The kernel source file Documentation/SubmitChecklist notes that all Linux kernel patches that change userspace interfaces should be CCed to linux-...@vger.kernel.org, so that the various

Re: possible race condition for usb_stor_port_reset and usb_reset_and_verify_device

2015-05-06 Thread Alan Stern
On Wed, 6 May 2015, yoma sophian wrote: hi all: I am writing a thread and it will call sd_check_events per 1 second. Is your thread freezable? It should be, if it is going to do I/O. 1. before system goes to hibernate, the thread works fine 2. system hibernate and restore back. 3.

Re: [PATCH] usb: storage: fix module reference for scsi host

2015-05-06 Thread Alan Stern
On Wed, 6 May 2015, Akinobu Mita wrote: While accessing a unusual usb storage (ums-alauda, ums-cypress, ...), the module reference count is not incremented. Because these drivers allocate scsi hosts with usb_stor_host_template defined in usb-storage module. So these drivers always can be