[PATCH 0/2] block: blk_rq_map/unamp patches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm still working to convert sg (st and osst) to use the blk mapping
API. Here's two patches for these functions that I like to be merged
into mainline before that work.

The first patch is a repost with a proper description, a patch to move
the padding adjustment from blk_rq_map_user to blk_rq_map_sg. This
patch affects only libata and I tested this patch with my CD-R drive
using libata and it works fine. Tejun, does this change break
something in libata?

The second patch changes blk_rq_unmap_user to take a request instead
of a bio. A pointer to a bio is added to request struct (Mike did the
same thing when adding multiple bio support to the API). I know that
it's not nice to add something to request struct, however, the
asymmetry of the map/unmap API lead to trouble easily (it led to bugs
in the past). I think that it worth doing that to avoid future
trouble.

Jens, any comments?



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux