Re: [PATCH 1/2] f2fs: reorganize f2fs_vm_page_mkwrite

2013-04-29 Thread Namjae Jeon
2013/4/29, Jaegeuk Kim : > Hi, Hi. Jaegeuk. > > 2013-04-28 (일), 09:04 +0900, Namjae Jeon: >> From: Namjae Jeon >> >> Few things can be changed in the default mkwrite function >> 1) Make file_update_time at the start before acquiring any lock >> 2) the condition page_offset(page) >=

Re: [PATCH 1/2] f2fs: reorganize f2fs_vm_page_mkwrite

2013-04-29 Thread Namjae Jeon
2013/4/29, Jaegeuk Kim jaegeuk@samsung.com: Hi, Hi. Jaegeuk. 2013-04-28 (일), 09:04 +0900, Namjae Jeon: From: Namjae Jeon namjae.j...@samsung.com Few things can be changed in the default mkwrite function 1) Make file_update_time at the start before acquiring any lock 2) the condition

Re: [PATCH 1/2] f2fs: reorganize f2fs_vm_page_mkwrite

2013-04-28 Thread Jaegeuk Kim
Hi, 2013-04-28 (일), 09:04 +0900, Namjae Jeon: > From: Namjae Jeon > > Few things can be changed in the default mkwrite function > 1) Make file_update_time at the start before acquiring any lock > 2) the condition page_offset(page) >= i_size_read(inode) should be > changed to page_offset(page)

Re: [PATCH 1/2] f2fs: reorganize f2fs_vm_page_mkwrite

2013-04-28 Thread Jaegeuk Kim
Hi, 2013-04-28 (일), 09:04 +0900, Namjae Jeon: From: Namjae Jeon namjae.j...@samsung.com Few things can be changed in the default mkwrite function 1) Make file_update_time at the start before acquiring any lock 2) the condition page_offset(page) = i_size_read(inode) should be changed to

[PATCH 1/2] f2fs: reorganize f2fs_vm_page_mkwrite

2013-04-27 Thread Namjae Jeon
From: Namjae Jeon Few things can be changed in the default mkwrite function 1) Make file_update_time at the start before acquiring any lock 2) the condition page_offset(page) >= i_size_read(inode) should be changed to page_offset(page) > i_size_read 3) Move wait_on_page_writeback.

[PATCH 1/2] f2fs: reorganize f2fs_vm_page_mkwrite

2013-04-27 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Few things can be changed in the default mkwrite function 1) Make file_update_time at the start before acquiring any lock 2) the condition page_offset(page) = i_size_read(inode) should be changed to page_offset(page) i_size_read 3) Move