linux-sg2042/block
Mike Christie defd94b754 [SCSI] seperate max_sectors from max_hw_sectors
- export __blk_put_request and blk_execute_rq_nowait
needed for async REQ_BLOCK_PC requests
- seperate max_hw_sectors and max_sectors for block/scsi_ioctl.c and
SG_IO bio.c helpers per Jens's last comments. Since block/scsi_ioctl.c SG_IO was
already testing against max_sectors and SCSI-ml was setting max_sectors and
max_hw_sectors to the same value this does not change any scsi SG_IO behavior. It only
prepares ll_rw_blk.c, scsi_ioctl.c and bio.c for when SCSI-ml begins to set
a valid max_hw_sectors for all LLDs. Today if a LLD does not set it
SCSI-ml sets it to a safe default and some LLDs set it to a artificial low
value to overcome memory and feedback issues.

Note: Since we now cap max_sectors to BLK_DEF_MAX_SECTORS, which is 1024,
drivers that used to call blk_queue_max_sectors with a large value of
max_sectors will now see the fs requests capped to BLK_DEF_MAX_SECTORS.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-12-15 15:11:40 -08:00
..
Kconfig [BLOCK] Move all core block layer code to new block/ directory 2005-11-04 08:43:35 +01:00
Kconfig.iosched [BLOCK] iosched: fix setting of default io scheduler 2005-11-04 08:44:58 +01:00
Makefile [BLOCK] Move all core block layer code to new block/ directory 2005-11-04 08:43:35 +01:00
as-iosched.c [PATCH] as-iosched: remove state assertion in as_add_request() 2005-11-21 11:04:52 -08:00
cfq-iosched.c [BLOCK] new block/ directory comment tidy 2005-11-18 21:59:31 +01:00
deadline-iosched.c [BLOCK] new block/ directory comment tidy 2005-11-18 21:59:31 +01:00
elevator.c [BLOCK] new block/ directory comment tidy 2005-11-18 21:59:31 +01:00
genhd.c [BLOCK] Document the READ/WRITE splitup of the disk stats 2005-11-12 10:55:21 +01:00
ioctl.c [BLOCK] Move all core block layer code to new block/ directory 2005-11-04 08:43:35 +01:00
ll_rw_blk.c [SCSI] seperate max_sectors from max_hw_sectors 2005-12-15 15:11:40 -08:00
noop-iosched.c [BLOCK] noop-iosched: reimplementation of request dispatching 2005-11-12 10:56:52 +01:00
scsi_ioctl.c [SCSI] seperate max_sectors from max_hw_sectors 2005-12-15 15:11:40 -08:00