f2fs: fix the starvation problem on cp_rwsem
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Thu, 10 Oct 2013 05:36:00 +0000 (14:36 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Fri, 18 Oct 2013 00:44:13 +0000 (09:44 +0900)
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>
fs/f2fs/f2fs.h
fs/f2fs/super.c

diff --cc fs/f2fs/f2fs.h
Simple merge
diff --cc fs/f2fs/super.c
Simple merge