[PATCH 2/2] f2fs: consider fallocated space for SEEK_DATA

2014-04-28 Thread Jaegeuk Kim
If an amount of data are allocated though fallocate and user writes a couple of data among the space, f2fs should return the data offset made by user when SEEK_DATA is requested. For example, (N: NEW_ADDR by fallocate, X: NEW_ADDR by user) 1) fallocate 0 ~ 10MB f -> N N N N N N N N N N N N ... N

[PATCH 2/2] f2fs: consider fallocated space for SEEK_DATA

2014-04-28 Thread Jaegeuk Kim
If an amount of data are allocated though fallocate and user writes a couple of data among the space, f2fs should return the data offset made by user when SEEK_DATA is requested. For example, (N: NEW_ADDR by fallocate, X: NEW_ADDR by user) 1) fallocate 0 ~ 10MB f - N N N N N N N N N N N N ... N