patch-2.4.11-dontuse linux/drivers/ide/ataraid.h

Next file: linux/drivers/ide/hptraid.c
Previous file: linux/drivers/ide/ataraid.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.10/linux/drivers/ide/ataraid.h linux/drivers/ide/ataraid.h
@@ -49,6 +49,12 @@
 	unsigned char sectors;
 };
 
+/* structure for the splitting of bufferheads */
+
+struct ataraid_bh_private {
+	struct buffer_head *parent;
+	atomic_t count;
+};
 
 extern struct gendisk ataraid_gendisk;
 
@@ -56,4 +62,11 @@
 extern void ataraid_release_device(int device);
 extern int get_blocksize(kdev_t dev);
 extern void ataraid_register_disk(int device,long size);
+extern struct buffer_head *ataraid_get_bhead(void);
+extern struct ataraid_bh_private *ataraid_get_private(void);
+extern void ataraid_end_request(struct buffer_head *bh, int uptodate);
+
+
+
+
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)