LWN.net Logo

Write same support v4

From:  "Martin K. Petersen" <martin.petersen@oracle.com>
To:  jaxboe@fusionio.com, jbottomley@parallels.com
Subject:  Write same support v4
Date:  Fri, 16 Mar 2012 14:43:12 -0400
Message-ID:  <1331923399-30987-1-git-send-email-martin.petersen@oracle.com>
Cc:  linux-scsi@vger.kernel.org
Archive-link:  Article, Thread


Changes since v3:

 - Document that the REQ_NOMERGE_FLAGS is used for both bio and request
   merging.

 - Do size accounting correctly so we don't have to use
   blk_add_request_payload(). This also fixes an issue discovered by
   Mike: When running over a flaky iSCSI connection we would end up
   completing one block and subsequently fail trying to redrive the
   remainder of the I/O. An unfortunate side effect of the discrepancy
   between the DMA transfer size and the logical block range affected by
   the command.

I put a writesame4 branch on:

   git://git.kernel.org/pub/scm/linux/kernel/git/mkp/linux.git

-- 
Martin K. Petersen	Oracle Linux Engineering

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds