]> Pileus Git - ~andy/linux/blobdiff - drivers/md/raid1.h
md/raid1: improve handling of pages allocated for write-behind.
[~andy/linux] / drivers / md / raid1.h
index cbfdf1a6acd98e6f501d29912c2bc718c39450df..5fc4ca1af8639b5a61a6a17901866fe0987effcc 100644 (file)
@@ -94,7 +94,9 @@ struct r1bio_s {
        int                     read_disk;
 
        struct list_head        retry_list;
-       struct bitmap_update    *bitmap_update;
+       /* Next two are only valid when R1BIO_BehindIO is set */
+       struct page             **behind_pages;
+       int                     behind_page_count;
        /*
         * if the IO is in WRITE direction, then multiple bios are used.
         * We choose the number when they are allocated.