diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-10-10 09:36:00 +0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-10-18 04:44:13 +0400 |
commit | b1838f8952123842b00d6f8979e0f19a3b680e87 (patch) | |
tree | f93aa47a01af72ed58010097bd2ef78b78f56736 /fs/f2fs/super.c | |
parent | 3d1e38073b3f33d31df1ae09aaccab3dfd9fb61e (diff) | |
download | linux-b1838f8952123842b00d6f8979e0f19a3b680e87.tar.xz |
f2fs: fix the starvation problem on cp_rwsem
This patch removes the logic previously introduced to address the starvation
on cp_rwsem.
One potential there-in bug is that we should cover the wait.list with spin_lock,
but the previous code broke this rule.
And, actually current rwsem handles this starvation issue reasonably, so that we
didn't need to do this before neither.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r-- | fs/f2fs/super.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 539c009d4138..3b786c85b5cd 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -841,7 +841,6 @@ static int f2fs_fill_super(struct super_block *sb, void *data, int silent) spin_lock_init(&sbi->stat_lock); init_rwsem(&sbi->bio_sem); init_rwsem(&sbi->cp_rwsem); - init_waitqueue_head(&sbi->cp_wait); init_sb_info(sbi); /* get an inode for meta space */ |