Re: [f2fs-dev] f2fs using tons of cpu

2013-10-09 Thread Jaegeuk Kim
Hi, 2013-10-08 (화), 13:25 +0200, folkert: Hi, For the last few days f2fs started to use loads of cpu on one of my raspberry pi systems: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 2822 root 20 0 000 R 35.3 0.0 328:34.01 f2fs_gc-254:0 2826

[f2fs-dev] [PATCH] f2fs: fix the starvation problem on cp_rwsem

2013-10-09 Thread Jaegeuk Kim
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