Re: [patch 1/2]block: handle merged discard request

2012-08-17 Thread Martin K. Petersen
> "Mike" == Mike Snitzer writes: Mike> Could be I've wasted a few hours by rebasing these patches... Mike> regardless, it would be great if you could share what your plans Mike> are. Heh, I worked on syncing my patch queue up to Jens' and James' trees this afternoon. But I didn't quite finis

Re: [patch 1/2]block: handle merged discard request

2012-08-17 Thread Mike Snitzer
On Thu, Jun 21, 2012 at 11:46 PM, Martin K. Petersen wrote: >> "Christoph" == Christoph Hellwig writes: > >>> There are several additional commands in the pipeline where the 1:1 >>> mapping between DMA size and block range is invalid. I want to get >>> rid of the 1:1 assumption in general so

Re: [PATCH] target: Remove unused se_cmd.cmd_spdtl

2012-08-17 Thread Nicholas A. Bellinger
On Fri, 2012-08-17 at 11:46 -0700, Roland Dreier wrote: > On Thu, Aug 16, 2012 at 3:12 PM, Nicholas A. Bellinger > wrote: > > diff --git a/drivers/target/target_core_transport.c > > b/drivers/target/target_core_transport.c > > index 0eaae23..63b3594 100644 > > --- a/drivers/target/target_core_tra

Re: [PATCH] target: Remove unused se_cmd.cmd_spdtl

2012-08-17 Thread Nicholas A. Bellinger
(CC'ing linux-scsi as per request by Boaz) On Fri, 2012-08-17 at 13:49 +0300, Boaz Harrosh wrote: > On 08/17/2012 01:12 AM, Nicholas A. Bellinger wrote: > > > On Thu, 2012-08-16 at 09:24 -0700, Roland Dreier wrote: > >> Actually I'm not sure removing cmd_spdtl is the right answer. > >> > >> If /d

Re: [PATCH RFC] increase ST_MAX_TAPES from 128 to 1024

2012-08-17 Thread Jeff Mahoney
The preallocation of cdevs is also addressed in my patch set. I'll send it out as soon as I'm at my notebook again. -Jeff -- Jeff Mahoney (apologies for the top post -- from my mobile) On Aug 17, 2012, at 4:58 PM, "Rob Evers " wrote: > On 08/17/2012 11:37 AM, James Bottomley wrote: >> On Fri

Re: [PATCH RFC] increase ST_MAX_TAPES from 128 to 1024

2012-08-17 Thread Rob Evers
On 08/17/2012 11:37 AM, James Bottomley wrote: On Fri, 2012-08-17 at 10:50 -0400, Rob Evers wrote: Wondering if this would be an acceptable interim solution to increasing the limit on the number of tape drives while http://marc.info/?l=linux-scsi&m=134212042809524&w=2 gets sorted out. Signed-of

Enabling FUA for SATA drives (was Re: [RFC][PATCH] libata: enable SATA disk fua detection on default)

2012-08-17 Thread Jeff Garzik
On 05/07/2012 11:24 PM, Zheng Liu wrote: From: Zheng Liu Currently, SATA disk fua detection is disabled on default because most of devices don't support this feature at that time. With the development of technology, more and more SATA disks support this feature. So now we can enable this dete

Re: [PATCH] scsi_debug: Fix off-by-one bug when unmapping region

2012-08-17 Thread Martin K. Petersen
> "Lukas" == Lukas Czerner writes: Lukas> Currently it is possible to unmap one more block than user Lukas> requested to due to the off-by-one error in unmap_region(). This Lukas> is probably due to the fact that the end variable despite its Lukas> name actually points to the last block to un

Re: [SCSI] mpt2sas T10 DIF fixes

2012-08-17 Thread Martin K. Petersen
> "Ankit" == Ankit Jain writes: Ankit> Will these patches be merged? Or have they been superseded by Ankit> some other patchset? Sorry, I've been out on vacation. 2 of the patches are absolutely trivial and should just be applied. However, LSI objects to patch #3 which tweaks an incorrect N

Re: [PATCH RFC] increase ST_MAX_TAPES from 128 to 1024

2012-08-17 Thread James Bottomley
On Fri, 2012-08-17 at 10:50 -0400, Rob Evers wrote: > Wondering if this would be an acceptable interim solution > to increasing the limit on the number of tape drives > while http://marc.info/?l=linux-scsi&m=134212042809524&w=2 > gets sorted out. > > Signed-off-by: Rob Evers > --- > drivers/scsi

Re: [ANNOUNCE] target-pending tree updated to v3.6-rc2

2012-08-17 Thread Alex Elsayed
On Thursday, August 16, 2012 11:49:44 PM Nicholas A. Bellinger wrote: > On Thu, 2012-08-16 at 19:43 -0700, Nicholas A. Bellinger wrote: > > Hi all, > > > > With the release of v3.6-rc2 this afternoon, the target-pending.git tree > > now has been updated using the freshly cut -rc2 as it's new HEAD.

Re: [PATCH RFC] increase ST_MAX_TAPES from 128 to 1024

2012-08-17 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/17/12 10:50 AM, Rob Evers wrote: > Wondering if this would be an acceptable interim solution to > increasing the limit on the number of tape drives while > http://marc.info/?l=linux-scsi&m=134212042809524&w=2 gets sorted > out. I have the updated

[PATCH RFC] increase ST_MAX_TAPES from 128 to 1024

2012-08-17 Thread Rob Evers
Wondering if this would be an acceptable interim solution to increasing the limit on the number of tape drives while http://marc.info/?l=linux-scsi&m=134212042809524&w=2 gets sorted out. Signed-off-by: Rob Evers --- drivers/scsi/st.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

Re: [PATCH] target: Remove unused se_cmd.cmd_spdtl

2012-08-17 Thread Boaz Harrosh
We should switch this topic to the scsi mailing list On 08/17/2012 01:49 PM, Boaz Harrosh wrote: > On 08/17/2012 01:12 AM, Nicholas A. Bellinger wrote: > >> On Thu, 2012-08-16 at 09:24 -0700, Roland Dreier wrote: >>> Actually I'm not sure removing cmd_spdtl is the right answer. >>> >>> If /dev/s

Re: [PATCH v3] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list

2012-08-17 Thread Stefan Hajnoczi
On Mon, Jul 30, 2012 at 02:25:06PM +0800, Wang Sen wrote: > When using the commands below to write some data to a virtio-scsi LUN of the > QEMU guest(32-bit) with 1G physical memory(qemu -m 1024), the qemu will crash. > > # sudo mkfs.ext4 /dev/sdb (/dev/sdb is the virtio-scsi LUN.) >