diff options
author | Wanpeng Li <liwp@linux.vnet.ibm.com> | 2012-06-08 23:10:55 -0400 |
---|---|---|
committer | Fengguang Wu <fengguang.wu@intel.com> | 2012-06-09 07:54:47 -0400 |
commit | 331cbdeedeb2f4ef01ccb761513708af0fe77098 (patch) | |
tree | d7177689ddee2137dc54dead6aa306ac2821deb5 | |
parent | eb608e3a344b3af21300360fcf868f8b4e808a8e (diff) |
writeback: Fix some comment errors
Signed-off-by: Wanpeng Li <liwp@linux.vnet.ibm.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
-rw-r--r-- | fs/fs-writeback.c | 4 | ||||
-rw-r--r-- | fs/super.c | 2 | ||||
-rw-r--r-- | fs/sync.c | 2 | ||||
-rw-r--r-- | mm/page-writeback.c | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 41a3ccff18d8..0b2c87e08e90 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c | |||
@@ -628,8 +628,8 @@ static long writeback_sb_inodes(struct super_block *sb, | |||
628 | } | 628 | } |
629 | 629 | ||
630 | /* | 630 | /* |
631 | * Don't bother with new inodes or inodes beeing freed, first | 631 | * Don't bother with new inodes or inodes being freed, first |
632 | * kind does not need peridic writeout yet, and for the latter | 632 | * kind does not need periodic writeout yet, and for the latter |
633 | * kind writeout is handled by the freer. | 633 | * kind writeout is handled by the freer. |
634 | */ | 634 | */ |
635 | spin_lock(&inode->i_lock); | 635 | spin_lock(&inode->i_lock); |
diff --git a/fs/super.c b/fs/super.c index cf001775617f..3d65443aea8c 100644 --- a/fs/super.c +++ b/fs/super.c | |||
@@ -318,7 +318,7 @@ static int grab_super(struct super_block *s) __releases(sb_lock) | |||
318 | 318 | ||
319 | /* | 319 | /* |
320 | * grab_super_passive - acquire a passive reference | 320 | * grab_super_passive - acquire a passive reference |
321 | * @s: reference we are trying to grab | 321 | * @sb: reference we are trying to grab |
322 | * | 322 | * |
323 | * Tries to acquire a passive reference. This is used in places where we | 323 | * Tries to acquire a passive reference. This is used in places where we |
324 | * cannot take an active reference but we need to ensure that the | 324 | * cannot take an active reference but we need to ensure that the |
@@ -92,7 +92,7 @@ static void sync_filesystems(int wait) | |||
92 | } | 92 | } |
93 | 93 | ||
94 | /* | 94 | /* |
95 | * sync everything. Start out by waking pdflush, because that writes back | 95 | * sync everything. Start out by waking flusher, because that writes back |
96 | * all queues in parallel. | 96 | * all queues in parallel. |
97 | */ | 97 | */ |
98 | SYSCALL_DEFINE0(sync) | 98 | SYSCALL_DEFINE0(sync) |
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index ec14419e53b5..e5363f34e025 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c | |||
@@ -946,7 +946,7 @@ static void bdi_update_dirty_ratelimit(struct backing_dev_info *bdi, | |||
946 | * bdi->dirty_ratelimit = balanced_dirty_ratelimit; | 946 | * bdi->dirty_ratelimit = balanced_dirty_ratelimit; |
947 | * | 947 | * |
948 | * However to get a more stable dirty_ratelimit, the below elaborated | 948 | * However to get a more stable dirty_ratelimit, the below elaborated |
949 | * code makes use of task_ratelimit to filter out sigular points and | 949 | * code makes use of task_ratelimit to filter out singular points and |
950 | * limit the step size. | 950 | * limit the step size. |
951 | * | 951 | * |
952 | * The below code essentially only uses the relative value of | 952 | * The below code essentially only uses the relative value of |
@@ -969,7 +969,7 @@ static void bdi_update_dirty_ratelimit(struct backing_dev_info *bdi, | |||
969 | * feel and care are stable dirty rate and small position error. | 969 | * feel and care are stable dirty rate and small position error. |
970 | * | 970 | * |
971 | * |task_ratelimit - dirty_ratelimit| is used to limit the step size | 971 | * |task_ratelimit - dirty_ratelimit| is used to limit the step size |
972 | * and filter out the sigular points of balanced_dirty_ratelimit. Which | 972 | * and filter out the singular points of balanced_dirty_ratelimit. Which |
973 | * keeps jumping around randomly and can even leap far away at times | 973 | * keeps jumping around randomly and can even leap far away at times |
974 | * due to the small 200ms estimation period of dirty_rate (we want to | 974 | * due to the small 200ms estimation period of dirty_rate (we want to |
975 | * keep that period small to reduce time lags). | 975 | * keep that period small to reduce time lags). |