Use binary decision approach to calculate SIT/NAT/SSA segments
it has some benefits when the partition size >= 512G.
(bsearch)
psize main_segments main_seaments
...
512G261509 261510
1 T523141 523143
2 T1046405 1046409
4 T
Should it be "When committing inmem pages is not successful" ?
On 2018/1/11 8:17, Daeho Jeong wrote:
When committing inmem pages is successful, we revoke already committed
blocks in __revoke_inmem_pages() and finally replace the committed
ones with the old blocks using f2fs_replace_block().
This patch introduces a new ioctl F2FS_IOC_PRECACHE_EXTENTS to precache
extent info like ext4, in order to gain better performance during
triggering AIO by eliminating synchronous waiting of mapping info.
Referred commit: 7869a4a6c5ca ("ext4: add support for extent pre-caching")
In addition,
This patch enables ->fiemap to handle FIEMAP_FLAG_XATTR flag for xattr
mapping info lookup purpose.
It makes f2fs passing generic/425 test in fstest.
Signed-off-by: Chao Yu
---
fs/f2fs/data.c | 69 +-
1 file changed,
This patch fix to cover f2fs_inline_data_fiemap with inode_lock in order
to make that interface avoiding race with mapping change.
Signed-off-by: Chao Yu
---
v2:
- change to just cover inode lock for f2fs_inline_data_fiemap
fs/f2fs/data.c | 6 +++---
1 file changed, 3
Check node page again in write end io in case of
data corruption during inflght IO.
Signed-off-by: Yunlei He
---
fs/f2fs/data.c | 4
1 file changed, 4 insertions(+)
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 72d5d36..3de6c67 100644
--- a/fs/f2fs/data.c
+++
On 2018/1/11 13:16, Jaegeuk Kim wrote:
> On 01/11, Chao Yu wrote:
>> On 2018/1/11 3:24, Jaegeuk Kim wrote:
>>> On 01/10, Chao Yu wrote:
This patch introduces a new ioctl F2FS_IOC_PRECACHE_EXTENTS to precache
extent info like ext4, in order to gain better performance during
On 01/10, Yunlei He wrote:
> Check node page again in write end io in case of
> data corruption during inflght IO.
>
> Signed-off-by: Yunlei He
> ---
> fs/f2fs/data.c | 5 +
> 1 file changed, 5 insertions(+)
>
> diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
> index
When io_bits is set, gc encrypted block may trigger the following hungtask.
Since io_bits requires aligned block address, f2fs_submit_page_write may
return -EAGAIN if new_blkaddr does not satisify io_bits alignment.
So let's try to alloc new block address to make sure encrypted page could
be
Now, we invoke f2fs_mark_inode_dirty_sync() to make an inode dirty in
advance of creating a new node page for the inode. By this, some inodes
whose node page is not created yet can be linked into the global dirty
list.
If the checkpoint is executed at this moment, the inode will be written
back
10 matches
Mail list logo