16 Oct, 2007
40 commits
-
This option is true if a low-level driver can support sg
chaining. This will be removed eventually when all the drivers are
converted to support sg chaining. q->max_phys_segments is set to
SCSI_MAX_SG_SEGMENTS if false.Signed-off-by: FUJITA Tomonori
Signed-off-by: Jens Axboe -
Signed-off-by: FUJITA Tomonori
Signed-off-by: Jens Axboe -
Signed-off-by: FUJITA Tomonori
Signed-off-by: Jens Axboe -
Signed-off-by: FUJITA Tomonori
Signed-off-by: Jens Axboe -
ips properly uses scsi_for_each_sg for the normal I/O path, however,
the breakup path doesn't.Signed-off-by: FUJITA Tomonori
Signed-off-by: Jens Axboe -
Acked-by: Bartlomiej Zolnierkiewicz
Signed-off-by: Jens Axboe -
Acked-by: Alan Cox
Signed-off-by: Jens Axboe -
Signed-off-by: Jens Axboe
-
[PATCH] USB storage: sg chaining support
Modify usb_stor_access_xfer_buf() to take a pointer to an sg
entry pointer, so we can keep track of that instead of passing
around an integer index (which we can't use when dealing with
multiple scatterlist arrays).Signed-off-by: Jens Axboe
-
Signed-off-by: Jens Axboe
-
Signed-off-by: Jens Axboe
-
Acked-by: Bartlomiej Zolnierkiewicz
Signed-off-by: Jens Axboe -
Signed-off-by: Jens Axboe
-
Signed-off-by: Jens Axboe
-
Interesting hardware setup...
Signed-off-by: Jens Axboe
-
Signed-off-by: Jens Axboe
-
Signed-off-by: Douglas Gilbert
Signed-off-by: Jens Axboe -
This converts libata to using the sg helpers for looking up sg
elements, instead of doing it manually.Signed-off-by: Jens Axboe
-
This is what enables large commands. If we need to allocate an
sgtable that doesn't fit in a single page, allocate several
SCSI_MAX_SG_SEGMENTS sized tables and chain them together.SCSI defaults to large chained sg tables, if the arch supports it.
Signed-off-by: Jens Axboe
-
Just pass in the command, no point in passing in the scatterlist
and scatterlist pool index seperately.Signed-off-by: Jens Axboe
-
Signed-off-by: Saeed Bishara
Signed-off-by: Jens Axboe -
Expose this setting for now, so that users can play with enabling
large commands without defaulting it to on globally. This is a debug
patch, it will be dropped for the final versions.Signed-off-by: Jens Axboe
-
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
correcting the ifdef ARCH_HAS_SG_CHAIN guarding sg_last().Signed-off-by: Jens Axboe
-
This converts the SCSI mid layer to using the sg helpers for looking up
sg elements, instead of doing it manually.Signed-off-by: Jens Axboe
-
Convert the main rq mapper (blk_rq_map_sg()) to the sg helper setup.
Signed-off-by: Jens Axboe
-
First step to being able to change the scatterlist setup without
having to modify drivers (a lot :-)Signed-off-by: Jens Axboe
-
It's a subsystem function, prefix it as such.
Acked-by: Herbert Xu
Signed-off-by: Jens Axboe -
Signed-off-by: Laurent Riffard
Signed-off-by: Jens Axboe -
Signed-off-by: Jens Axboe
-
Signed-off-by: Adrian Bunk
Signed-off-by: Jens Axboe -
Then we can get rid of ->issue_flush_fn() and all the driver private
implementations of that.Signed-off-by: Jens Axboe
-
This implements functionality to pass down or insert a barrier
in a queue, without having data attached to it. The ->prepare_flush_fn()
infrastructure from data barriers are reused to provide this
functionality.Signed-off-by: Jens Axboe
-
End of device check is done twice in __generic_make_request() and it's
fully inlined each time. Factor out bio_check_eod().Signed-off-by: Tejun Heo
Signed-off-by: Jens Axboe -
We can use this helper in the elevator core for BLKPREP_KILL, and it'll
also be useful for the empty barrier patch.Signed-off-by: Jens Axboe
-
The empty barrier patches do not carry data, so they have no
iovec attached.Signed-off-by: Jens Axboe
-
Use memset() to clear the bio, instead of doing each field manually.
Signed-off-by: Jens Axboe
-
Fix ?: construct, a typo, whitespace, and similar.
Signed-off-by: Jens Axboe
-
* 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (95 commits)
[ARM] 4578/1: CM-x270: PCMCIA support
[ARM] 4577/1: ITE 8152 PCI bridge support
[ARM] 4576/1: CM-X270 machine support
[ARM] pxa: Avoid pxa_gpio_mode() in gpio_direction_{in,out}put()
[ARM] pxa: move pxa_set_mode() from pxa2xx_mainstone.c to mainstone.c
[ARM] pxa: move pxa_set_mode() from pxa2xx_lubbock.c to lubbock.c
[ARM] pxa: Make cpu_is_pxaXXX dependent on configuration symbols
[ARM] pxa: PXA3xx base support
[NET] smc91x: fix PXA DMA support code
[SERIAL] Fix console initialisation ordering
[ARM] pxa: tidy up arch/arm/mach-pxa/Makefile
[ARM] Update arch/arm/Kconfig for drivers/Kconfig changes
[ARM] 4600/1: fix kernel build failure with build-id-supporting binutils
[ARM] 4599/1: Preserve ATAG list for use with kexec (2.6.23)
[ARM] Rename consistent_sync() as dma_cache_maint()
[ARM] 4572/1: ep93xx: add cirrus logic edb9307 support
[ARM] 4596/1: S3C2412: Correct IRQs for SDI+CF and add decoding support
[ARM] 4595/1: ns9xxx: define registers as void __iomem * instead of volatile u32
[ARM] 4594/1: ns9xxx: use the new gpio functions
[ARM] 4593/1: ns9xxx: implement generic clockevents
... -
* 'locks' of git://linux-nfs.org/~bfields/linux:
nfsd: remove IS_ISMNDLCK macro
Rework /proc/locks via seq_files and seq_list helpers
fs/locks.c: use list_for_each_entry() instead of list_for_each()
NFS: clean up explicit check for mandatory locks
AFS: clean up explicit check for mandatory locks
9PFS: clean up explicit check for mandatory locks
GFS2: clean up explicit check for mandatory locks
Cleanup macros for distinguishing mandatory locks
Documentation: move locks.txt in filesystems/
locks: add warning about mandatory locking races
Documentation: move mandatory locking documentation to filesystems/
locks: Fix potential OOPS in generic_setlease()
Use list_first_entry in locks_wake_up_blocks
locks: fix flock_lock_file() comment
Memory shortage can result in inconsistent flocks state
locks: kill redundant local variable
locks: reverse order of posix_locks_conflict() arguments -
* 'release' of ssh://master.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[IA64] build fix for scatterlist