path: root/include
diff options
authorJens Axboe <axboe@suse.de>2006-07-28 06:54:59 (GMT)
committerJens Axboe <axboe@suse.de>2006-07-28 06:54:59 (GMT)
commit361934849e9c0418950bedf667732f36337d88b9 (patch)
treea2f7d53d3ddf75c19421f972a03a44da00df0396 /include
parent64821324ca49f24be1a66f2f432108f96a24e596 (diff)
[PATCH] ide: option to disable cache flushes for buggy drives
Some drives claim they support cache flushing, but get seriously confused if you try. Add this option to be able to boot with barriers enabled by default. Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'include')
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index dc7abef..9962045 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -571,6 +571,7 @@ typedef struct ide_drive_s {
u8 waiting_for_dma; /* dma currently in progress */
u8 unmask; /* okay to unmask other irqs */
u8 bswap; /* byte swap data */
+ u8 noflush; /* don't attempt flushes */
u8 dsc_overlap; /* DSC overlap */
u8 nice1; /* give potential excess bandwidth */

Privacy Policy