f2fs: decrease the lock granularity during write_begin
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 30 Apr 2014 00:22:45 +0000 (09:22 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 7 May 2014 01:21:58 +0000 (10:21 +0900)
commitd5f66990bb928e7490ba4da94d585f618adcee5e
tree41dd37a53c947a47d6ec4c0e2c648bd1268fae0b
parentbde446866c9200fcfa27ccde213d83db9a6827db
f2fs: decrease the lock granularity during write_begin

This patch reduces the lock granularity during write_begin.
When the system is under memory pressure, it would be better to reduce
the locking time for the data pages.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/data.c