This file is indexed.

/usr/src/kernel-patches/lustre/patches/md-mmp-unplug-dev-sles10.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.16.60-0.33/drivers/md/raid5.c
===================================================================
--- linux-2.6.16.60-0.33.orig/drivers/md/raid5.c
+++ linux-2.6.16.60-0.33/drivers/md/raid5.c
@@ -900,6 +900,8 @@ static int add_stripe_bio(struct stripe_
 		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);
 
@@ -1617,6 +1619,8 @@ static int make_request (request_queue_t
 		bi->bi_end_io(bi, bytes, 0);
 	}
 	spin_unlock_irq(&conf->device_lock);
+	if (bio_sync(bi))
+		raid5_unplug_device(q);
 	return 0;
 }