[Bug 91711] New: 3w-9xxx: DMA-API: device driver tries to free DMA memory it has not allocated

2015-01-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=91711 Bug ID: 91711 Summary: 3w-9xxx: DMA-API: device driver tries to free DMA memory it has not allocated Product: IO/Storage Version: 2.5 Kernel Version: 3.18.3 Hardware:

sc_data_direction and bidi commands

2015-01-21 Thread Bart Van Assche
Hello, Although several SCSI LLDs compare sc_data_direction with the value DMA_BIDIRECTIONAL apparently scsi_setup_cmnd() never sets sc_data_direction to the value DMA_BIDIRECTIONAL. Is this behavior on purpose ? I discovered this while debugging bidi support in a SCSI LLD. Thanks, Bart. -- To

Re: [PATCH] block: Add discard flag to blkdev_issue_zeroout() function

2015-01-21 Thread Jens Axboe
On 01/20/2015 06:06 PM, Martin K. Petersen wrote: blkdev_issue_discard() will zero a given block range. This is done by way of explicit writing, thus provisioning or allocating the blocks on disk. There are use cases where the desired behavior is to zero the blocks but unprovision them if

[PATCH] MAINTAINERS: Remove self as isci maintainer

2015-01-21 Thread Dave Jiang
Removing myself as a maintainer. Signed-off-by: Dave Jiang dave.ji...@intel.com --- MAINTAINERS |1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 93409ad..7e3d97a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4946,7 +4946,6 @@ K:\b(ABS|SYN)_MT_ INTEL

Re: module: fix module_refcount() return when running in a module exit routine

2015-01-21 Thread Rusty Russell
James Bottomley james.bottom...@hansenpartnership.com writes: Actually, I don't think this is enough. Some Australian once came up with a guide to APIs, and lectured on it at length, one of which was that the name should be the obvious use and it is unexpected that a refcount would go

General protection fault in iscsi_rx_thread_pre_handler

2015-01-21 Thread Gavin Guo
Hi all, The general protection fault screenshot is attached. Summary: The kernel is Ubuntu-3.13.0-39.66. I've done basic analysis and found the fault is in list_del of iscsi_del_ts_from_active_list. And it looks like deleting the iscsi_thread_set *ts two times. The point to delete including

Re: tcmu-runner (target userspace passthrough daemon) development

2015-01-21 Thread Andy Grover
On 01/20/2015 04:35 PM, Nicholas A. Bellinger wrote: As a proof-of-concept, I've implemented a Gluster backend handler. I'm looking for code review and collaborators, as well as suggestions on what other userspace handlers we might want to work on. Tape or optical jukebox emulation? VMDK files??

[PATCH] block: create ioctl to discard-or-zeroout a range of blocks

2015-01-21 Thread Darrick J. Wong
Create a new ioctl to expose the block layer's newfound ability to issue either a zeroing discard, a WRITE SAME with a zero page, or a regular write with the zero page. This BLKZEROOUT2 ioctl takes {start, length, flags} as parameters. So far, the only flag available is to enable the zeroing

[Bug 90601] panic on write to 3ware raid array

2015-01-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=90601 --- Comment #8 from mer...@liao.homelinux.org --- Hi Kashyap, is there any additional info you need or do you know a better way to create a useable backtrace for you? -- You are receiving this mail because: You are the assignee for the bug. --

Re: [PATCH v7 2/5] phy: qcom-ufs: add support for 20nm phy

2015-01-21 Thread Kishon Vijay Abraham I
hi, On Thursday 15 January 2015 08:02 PM, Yaniv Gardi wrote: This change adds a support for a 20nm qcom-ufs phy that is required in platforms that use ufs-qcom controller. Signed-off-by: Yaniv Gardi yga...@codeaurora.org --- drivers/phy/Makefile| 1 +

Re: [PATCH v2 0/6] scsi: Some seq_file cleanups/optimizations

2015-01-21 Thread Rasmus Villemoes
On Wed, Dec 03 2014, Rasmus Villemoes li...@rasmusvillemoes.dk wrote: These patches mostly replace seq_printf with simpler and faster equivalents, e.g. seq_printf(m, something) = seq_puts(m, something) and seq_printf(m, \n) = seq_putc(m, '\n). But before my Coccinelle scripts could be

[PATCH] scsi: 3w-9xxx: fix format string warnings

2015-01-21 Thread Asaf Vertz
Fixed the following warnings (reported by cppcheck): [drivers/scsi/3w-9xxx.c:166]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [drivers/scsi/3w-9xxx.c:166]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned