summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2013-12-30 14:36:23 +0400
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2014-01-06 11:42:22 +0400
commit04a17fb17fafada39f96bfb41ceb2dc1c11b2af6 (patch)
tree424c1e59091553c44bb3cdf0abec337439d94514 /Documentation
parent18309aaa41909cfddb93e932b16a7d14ec425c9b (diff)
downloadlinux-04a17fb17fafada39f96bfb41ceb2dc1c11b2af6.tar.xz
f2fs: avoid to read inline data except first page
Here is a case which could read inline page data not from first page. 1. write inline data 2. lseek to offset 4096 3. read 4096 bytes from offset 4096 (read_inline_data read inline data page to non-first page, And previously VFS has add this page to page cache) 4. ftruncate offset 8192 5. read 4096 bytes from offset 4096 (we meet this updated page with inline data in cache) So we should leave this page with inited data and uptodate flag for this case. Change log from v1: o fix a deadlock bug Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions