block: Consolidate phys_segment and hw_segment limits
authorMartin K. Petersen <martin.petersen@oracle.com>
Fri, 26 Feb 2010 05:20:39 +0000 (00:20 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 26 Feb 2010 12:58:08 +0000 (13:58 +0100)
commit8a78362c4eefc1deddbefe2c7f38aabbc2429d6b
treec095d95af1aec0f9cee5975b1dcdc6bc1d17d401
parent086fa5ff0854c676ec333760f4c0154b3b242616
block: Consolidate phys_segment and hw_segment limits

Except for SCSI no device drivers distinguish between physical and
hardware segment limits.  Consolidate the two into a single segment
limit.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
35 files changed:
arch/um/drivers/ubd_kern.c
block/blk-core.c
block/blk-merge.c
block/blk-settings.c
drivers/ata/sata_nv.c
drivers/block/DAC960.c
drivers/block/cciss.c
drivers/block/cpqarray.c
drivers/block/drbd/drbd_nl.c
drivers/block/paride/pf.c
drivers/block/pktcdvd.c
drivers/block/ps3disk.c
drivers/block/ps3vram.c
drivers/block/sunvdc.c
drivers/block/sx8.c
drivers/block/ub.c
drivers/block/viodasd.c
drivers/block/xen-blkfront.c
drivers/cdrom/gdrom.c
drivers/cdrom/viocd.c
drivers/ide/ide-probe.c
drivers/md/raid5.c
drivers/memstick/core/mspro_block.c
drivers/message/i2o/i2o_block.c
drivers/mmc/card/queue.c
drivers/s390/block/dasd.c
drivers/s390/char/tape_block.c
drivers/scsi/ibmvscsi/ibmvfc.c
drivers/scsi/scsi_lib.c
drivers/scsi/sg.c
drivers/scsi/st.c
drivers/staging/hv/blkvsc_drv.c
fs/bio.c
include/linux/blkdev.h
include/linux/i2o.h