Re: unexpected sync delays in dpkg for small pre-allocated files on ext4

2016-05-30 Thread Dave Chinner
On Mon, May 30, 2016 at 10:27:52AM +0200, Gernot Hillier wrote: > Hi! > > On 25.05.2016 01:13, Theodore Ts'o wrote: > > On Tue, May 24, 2016 at 07:07:41PM +0200, Gernot Hillier wrote: > >> We experience strange delays with kernel 4.1.18 during dpkg > >> package installation on an ext4 filesystem a

Re: [PATCH] scsi: fix race between simultaneous decrements of ->host_failed

2016-05-30 Thread Christoph Hellwig
On Mon, May 30, 2016 at 03:43:43PM +0800, Wei Fang wrote: > I looked around the file, and didn't find the part should be updated. > Would you point me out? Lines 255 and 266 in Documentation/scsi/scsi_eh.txt -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a

Re: [PATCH] scsi_debug: fix sleep in invalid context

2016-05-30 Thread Christoph Hellwig
On Mon, May 30, 2016 at 12:02:45PM -0700, James Bottomley wrote: > This might fix the immediate warning, but won't it demand huge > contiguous memory chunks in high lun configurations and thus fail > randomly? Report luns is important to us because if that fails the > target won't attach. > > Wha

Re: [PATCH] scsi_debug: fix sleep in invalid context

2016-05-30 Thread James Bottomley
On Mon, 2016-05-30 at 14:19 -0400, Douglas Gilbert wrote: > In this post: http://www.spinics.net/lists/linux-scsi/msg97124.html > the author shows some kernel infrastructure complaining about a > sleep in an invalid context. For calls to fetch memory when > processing SCSI commands, reviewers often

[PATCH] scsi_debug: fix sleep in invalid context

2016-05-30 Thread Douglas Gilbert
In this post: http://www.spinics.net/lists/linux-scsi/msg97124.html the author shows some kernel infrastructure complaining about a sleep in an invalid context. For calls to fetch memory when processing SCSI commands, reviewers often propose non GFP_ATOMIC variants; reality dictates otherwise. Fix

Re: [PATCH] scsi: fix race between simultaneous decrements of ->host_failed

2016-05-30 Thread James Bottomley
On Mon, 2016-05-30 at 15:27 +0800, Wei Fang wrote: > Hi James, Christoph, > > On 2016/5/29 23:41, James Bottomley wrote: > > On Sat, 2016-05-28 at 23:54 -0700, Christoph Hellwig wrote: > > > On Sat, May 28, 2016 at 11:51:11AM +0800, Wei Fang wrote: > > > > async_sas_ata_eh(), which will call scsi_

Your Response Is Highly Needed!

2016-05-30 Thread descalante
I have a secured business suggestion for you reply me on my email: saeedbi...@qq.com -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: mpt3sas: memory allocation for firmware upgrade DMA memory question

2016-05-30 Thread Johannes Thumshirn
On Thu, May 26, 2016 at 03:46:58PM +0530, Chaitra Basappa wrote: > Johannes, [...] > > If we use GFP_KERNEL flag then it may be possible that ioctl thread may > hang/wait for long, if it doesn't get required memory from the system. > > We may need to test below patch thoroughly , as I don’t see

Re: unexpected sync delays in dpkg for small pre-allocated files on ext4

2016-05-30 Thread Gernot Hillier
Hi! On 25.05.2016 01:13, Theodore Ts'o wrote: > On Tue, May 24, 2016 at 07:07:41PM +0200, Gernot Hillier wrote: >> We experience strange delays with kernel 4.1.18 during dpkg >> package installation on an ext4 filesystem after switching from >> Ubuntu 14.04 to 16.04. We can reproduce the issue wit

Re: [PATCH] bnx2fc: replace printk() with BNX2FC_IO_DBG()

2016-05-30 Thread Johannes Thumshirn
On Mon, May 30, 2016 at 10:41:01AM +0200, Maurizio Lombardi wrote: > The "fcp_rsp_code = %d" message isn't an error, it's meant to > be informative only. > This patch prevents a flood of such messages in some situations. > > Tested-by: Laurence Oberman > Signed-off-by: Maurizio Lombardi Reviewe

[PATCH] bnx2fc: replace printk() with BNX2FC_IO_DBG()

2016-05-30 Thread Maurizio Lombardi
The "fcp_rsp_code = %d" message isn't an error, it's meant to be informative only. This patch prevents a flood of such messages in some situations. Tested-by: Laurence Oberman Signed-off-by: Maurizio Lombardi --- drivers/scsi/bnx2fc/bnx2fc_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [PATCH] scsi: fix race between simultaneous decrements of ->host_failed

2016-05-30 Thread Wei Fang
Hi, Christoph, On 2016/5/29 14:54, Christoph Hellwig wrote: > On Sat, May 28, 2016 at 11:51:11AM +0800, Wei Fang wrote: >> async_sas_ata_eh(), which will call scsi_eh_finish_cmd() in some case, >> would be performed simultaneously in sas_ata_strategy_handler(). In this >> case, ->host_failed may b

Re: [PATCH] scsi: fix race between simultaneous decrements of ->host_failed

2016-05-30 Thread Wei Fang
Hi James, Christoph, On 2016/5/29 23:41, James Bottomley wrote: > On Sat, 2016-05-28 at 23:54 -0700, Christoph Hellwig wrote: >> On Sat, May 28, 2016 at 11:51:11AM +0800, Wei Fang wrote: >>> async_sas_ata_eh(), which will call scsi_eh_finish_cmd() in some >>> case, would be performed simultaneous

[PATCH] block: don't check request size in blk_cloned_rq_check_limits()

2016-05-30 Thread Hannes Reinecke
When checking a cloned request there is no need to check the overall request size; this won't have changed even when resubmitting to another queue. Without this patch ppc64le on ibmvfc fails to boot. Signed-off-by: Hannes Reinecke --- block/blk-core.c | 5 - 1 file changed, 5 deletions(-) d