This file is indexed.

/usr/src/kernel-patches/lustre/patches/md-mmp-unplug-dev-2.6.27-vanilla.patch is in linux-patch-lustre 1.8.5+dfsg-3ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: linux-2.6.27.36/drivers/md/raid5.c
===================================================================
--- linux-2.6.27.36.orig/drivers/md/raid5.c	2009-10-05 17:19:01.000000000 +0200
+++ linux-2.6.27.36/drivers/md/raid5.c	2009-10-08 15:06:10.000000000 +0200
@@ -1726,6 +1726,8 @@
 		bi->bi_next = *bip;
 	*bip = bi;
 	bi->bi_phys_segments ++;
+        if (bio_sync(bi) && !forwrite)
+               clear_bit(R5_UPTODATE, &sh->dev[dd_idx].flags); /* force to read from disk. */
 	spin_unlock_irq(&conf->device_lock);
 	spin_unlock(&sh->lock);
 
@@ -3478,6 +3480,8 @@
 
 		bio_endio(bi, 0);
 	}
+	if (bio_sync(bi))
+		raid5_unplug_device(q);
 	return 0;
 }