Home
last modified time | relevance | path

Searched hist:"8412663 d177d95beff799c8bb256fccef86d09e6" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/f2fs/
H A Dsegment.cdiff 8412663d177d95beff799c8bb256fccef86d09e6 Tue Oct 03 20:08:32 CDT 2017 Chao Yu <yuchao0@huawei.com> f2fs: support issuing/waiting discard in range

Fstrim intends to trim invalid blocks of filesystem only with specified
range and granularity, but actually, it will issue all previous cached
discard commands which may be out-of-range and be with unmatched
granularity, it's unneeded.

In order to fix above issues, this patch introduces new helps to support
to issue and wait discard in range and adds a new fstrim_list for tracking
in-flight discard from ->fstrim.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
H A Dsuper.cdiff 8412663d177d95beff799c8bb256fccef86d09e6 Tue Oct 03 20:08:32 CDT 2017 Chao Yu <yuchao0@huawei.com> f2fs: support issuing/waiting discard in range

Fstrim intends to trim invalid blocks of filesystem only with specified
range and granularity, but actually, it will issue all previous cached
discard commands which may be out-of-range and be with unmatched
granularity, it's unneeded.

In order to fix above issues, this patch introduces new helps to support
to issue and wait discard in range and adds a new fstrim_list for tracking
in-flight discard from ->fstrim.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
H A Df2fs.hdiff 8412663d177d95beff799c8bb256fccef86d09e6 Tue Oct 03 20:08:32 CDT 2017 Chao Yu <yuchao0@huawei.com> f2fs: support issuing/waiting discard in range

Fstrim intends to trim invalid blocks of filesystem only with specified
range and granularity, but actually, it will issue all previous cached
discard commands which may be out-of-range and be with unmatched
granularity, it's unneeded.

In order to fix above issues, this patch introduces new helps to support
to issue and wait discard in range and adds a new fstrim_list for tracking
in-flight discard from ->fstrim.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>