summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-07-16 21:17:16 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-10-16 11:08:51 +0200
commit70eb8040dc81212c884a464b75e37dca8014f3ad (patch)
tree79d23b3ef2635032e6060dfa9b06e4f885a8cb10 /block
parentc6132da1704be252ee6c923f47501083d835c238 (diff)
downloadlinux-70eb8040dc81212c884a464b75e37dca8014f3ad.tar.gz
linux-70eb8040dc81212c884a464b75e37dca8014f3ad.tar.bz2
linux-70eb8040dc81212c884a464b75e37dca8014f3ad.zip
Add chained sg support to linux/scatterlist.h
The core of the patch - allow the last sg element in a scatterlist table to point to the start of a new table. We overload the LSB of the page pointer to indicate whether this is a valid sg entry, or merely a link to the next list. Includes a fix from Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> correcting the ifdef ARCH_HAS_SG_CHAIN guarding sg_last(). Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions