[PATCH] Split struct request ->flags into two parts
authorJens Axboe <axboe@suse.de>
Thu, 10 Aug 2006 06:44:47 +0000 (08:44 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Sat, 30 Sep 2006 18:23:37 +0000 (20:23 +0200)
commit4aff5e2333c9a1609662f2091f55c3f6fffdad36
treeb73d8c2b7c1bdc03d3313c108da7dfc95ee95525
parent77ed74da26f50fa28471571ee7a2251b77526d84
[PATCH] Split struct request ->flags into two parts

Right now ->flags is a bit of a mess: some are request types, and
others are just modifiers. Clean this up by splitting it into
->cmd_type and ->cmd_flags. This allows introduction of generic
Linux block message types, useful for sending generic Linux commands
to block devices.

Signed-off-by: Jens Axboe <axboe@suse.de>
39 files changed:
block/as-iosched.c
block/elevator.c
block/ll_rw_blk.c
block/scsi_ioctl.c
drivers/block/floppy.c
drivers/block/nbd.c
drivers/block/paride/pd.c
drivers/block/pktcdvd.c
drivers/block/xd.c
drivers/cdrom/cdrom.c
drivers/cdrom/cdu31a.c
drivers/ide/ide-cd.c
drivers/ide/ide-disk.c
drivers/ide/ide-dma.c
drivers/ide/ide-floppy.c
drivers/ide/ide-io.c
drivers/ide/ide-lib.c
drivers/ide/ide-tape.c
drivers/ide/ide-taskfile.c
drivers/ide/ide.c
drivers/ide/legacy/hd.c
drivers/md/dm-emc.c
drivers/message/i2o/i2o_block.c
drivers/mmc/mmc_queue.c
drivers/mtd/mtd_blkdevs.c
drivers/s390/block/dasd_diag.c
drivers/s390/block/dasd_eckd.c
drivers/s390/block/dasd_fba.c
drivers/scsi/aic7xxx_old.c
drivers/scsi/ide-scsi.c
drivers/scsi/pluto.c
drivers/scsi/scsi_lib.c
drivers/scsi/sd.c
drivers/scsi/sun3_NCR5380.c
drivers/scsi/sun3_scsi.c
drivers/scsi/sun3_scsi_vme.c
include/linux/blkdev.h
include/linux/blktrace_api.h
include/scsi/scsi_tcq.h