This patch supports parsing these two parameters from mount opt,
so that we don't have to dynamically modify the parameters through
the sysfs node after the system starts.
Signed-off-by: Yangtao Li
---
Documentation/filesystems/f2fs.rst | 6 +
fs/f2fs/debug.c| 3 ++-
On Tue, Nov 22, 2022 at 6:26 PM Vishal Moola wrote:
>
> On Mon, Nov 14, 2022 at 1:38 PM Vishal Moola wrote:
> >
> > On Sun, Nov 13, 2022 at 11:02 PM Chao Yu wrote:
> > >
> > > On 2022/10/18 4:24, Vishal Moola (Oracle) wrote:
> > > > Converted the function to use a folio_batch instead of
On 11/28, Jaegeuk Kim wrote:
> On 11/28, qixiaoyu1 wrote:
> > From: xiongping1
> >
> > Signed-off-by: xiongping1
> > Signed-off-by: qixiaoyu1
> > ---
> > fs/f2fs/Kconfig | 7 +++
> > fs/f2fs/Makefile| 1 +
> > fs/f2fs/block_age.c | 28
> >
This patch prepares extent_cache to be ready for addition.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/data.c | 20 +-
fs/f2fs/debug.c | 65 +++--
fs/f2fs/extent_cache.c | 463 +---
fs/f2fs/f2fs.h | 108 ++---
Let's descrbie it's read extent cache.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/extent_cache.c | 4 ++--
fs/f2fs/f2fs.h | 10 +-
fs/f2fs/inode.c| 2 +-
fs/f2fs/node.c | 2 +-
fs/f2fs/node.h | 2 +-
fs/f2fs/segment.c | 4 ++--
fs/f2fs/super.c
This patch introduces a runtime hot/cold data separation method
for f2fs, in order to improve the accuracy for data temperature
classification, reduce the garbage collection overhead after
long-term data updates.
Enhanced hot/cold data separation can record data block update
frequency as "age" of
Let's allocate it to remove the runtime complexity.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/extent_cache.c | 38 +++---
fs/f2fs/f2fs.h | 3 ++-
fs/f2fs/inode.c| 6 --
fs/f2fs/namei.c| 4 ++--
4 files changed, 27 insertions(+), 24
Added into the caller.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/extent_cache.c | 21 +
1 file changed, 5 insertions(+), 16 deletions(-)
diff --git a/fs/f2fs/extent_cache.c b/fs/f2fs/extent_cache.c
index 2a8e31e6d518..c6810347e205 100644
--- a/fs/f2fs/extent_cache.c
+++
No functional change.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/extent_cache.c | 88 +-
fs/f2fs/f2fs.h | 69 +
2 files changed, 81 insertions(+), 76 deletions(-)
diff --git a/fs/f2fs/extent_cache.c
Just like other data we count uses the number of bytes as the basic unit,
but discard uses the number of cmds as the statistical unit. In fact the
discard command contains the number of blocks, so let's change to the
number of bytes as the base unit.
Fixes: b0af6d491a6b ("f2fs: add app/fs io
10 matches
Mail list logo