Messages in this thread | | | Date | Fri, 6 Jan 2006 07:18:55 -0800 (PST) | From | Kenny Simpson <> | Subject | RE: RAID controller safety |
| |
--- Alan Cox <alan@lxorguk.ukuu.org.uk> wrote: > On Gwe, 2006-01-06 at 09:33 -0500, Salyzyn, Mark wrote: > > The dpt_i2o driver (which is a scsi driver) accepts the > > SYNCHRONIZE_CACHE scsi command and passes it off to the firmware. The > > firmware respects this and flushes all the outstanding (cached) > > commands. This is true in all (kernel.org or Adaptec latest) versions. > > In which case it should be fine and correct with the generic i2o_scsi as > well as that will pass through SCSI command requests directly. i2o_block > doesn't know about converting any incoming cache flush to an i2o command > block so might not. > > Alan >
Won't the i2o_block driver use i2o_block_device_flush to flush the devices' cache (by issuing a I2O_CMD_BLOCK_CFLUSH), or this this function used in some very different context?
Oddly enough, I see I2O_CMD_BLOCK_CFLISH #define'd to 0x37 in both the i2o driver (include/linux/i2o.h), AND in the dpt driver (drivers/scsi/dpt/dpti_i2o.h). However, I do not see the dpt driver using this value anywhere.
-Kenny
__________________________________________ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |