commit | 9ba69cf9877384baebd16c6fb51ceccd13677b37 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Oct 17 20:33:55 2014 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Mon Nov 03 16:07:30 2014 -0800 |
tree | c88d71c4b2e41c1519851c54f52b96c523fa6a4c | |
parent | a78186ebe516b6d7df43636603f0998803ab356a [diff] |
f2fs: avoid to allocate when inline_data was written The sceanrio is like this. inline_data i_size page write_begin/vm_page_mkwrite X 30 dirty_page X 30 write to #4096 position X 30 get_dnode_of_data wait for get_dnode_of_data O 30 write inline_data O 30 get_dnode_of_data O 30 reserve data block .. In this case, we have #0 = NEW_ADDR and inline_data as well. We should not allow this condition for further access. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>