Whamcloud - gitweb
b=22882 MMP might sleep negative time
authorRahul Deshmukh <Rahul.Deshmukh@sun.com>
Thu, 19 Aug 2010 06:29:34 +0000 (10:29 +0400)
committerMikhail Pershin <tappro@sun.com>
Thu, 19 Aug 2010 09:48:05 +0000 (13:48 +0400)
b=22882 MMP might sleep negative time

i=andreas
i=girish

Ported MMP might sleep negative time patch.

ldiskfs/kernel_patches/patches/ext3-mmp-2.6.18-vanilla.patch

index c608907..3ce0748 100644 (file)
@@ -220,7 +220,7 @@ Index: linux-stage/fs/ext3/super.c
 +
 +              diff = jiffies - last_update_time;
 +              if (diff < mmp_update_interval * HZ)
-+                      schedule_timeout_interruptible(EXT3_MMP_UPDATE_INTERVAL*
++                      schedule_timeout_interruptible(mmp_update_interval*
 +                                                     HZ - diff);
 +
 +              /*