When the free segment is used up during CP disable, many write or
ioctl operations will get ENOSPC error codes, even if there are
still many blocks available. We can reproduce it in the following
steps:
dd if=/dev/zero of=f2fs.img bs=1M count=55
mkfs.f2fs -f f2fs.img
mount f2fs.img f2fs_dir -o che
On 2024/9/24 17:56, Liao Yuanhong wrote:
The f2fs-tools support manual configuration of rsvd and ovp rate. In cases
where only a small rsvd is set, the automatically calculated ovp rate can
be very large, resulting in the reserved space of the entire file system
being almost the same as before, f
On 07/10/2024 17:38, Jaegeuk Kim wrote:
> Hi Ryan,
>
> On 10/02, Ryan Roberts wrote:
>> Hi Jaegeuk Kim, Chao Yu,
>>
>> I heard (via Matthew Wilcox) that you may be in the process of forming plans
>> to
>> add large folio support to f2fs? If so, I wonder if you could let me know how
>> those plans
> On 2024/10/7 13:21, Yonggil Song wrote:
> > There was a bug that did not subtract the super block area when calculating
> > the usable segments for a single zoned device with a conventional zone.
> > This bug resulted in incorrect the overprovision and reserved area.
> >
> > <256MiB legacy b
> > On 2024/10/7 13:21, Yonggil Song wrote:
> > > There was a bug that did not subtract the super block area when
> > > calculating
> > > the usable segments for a single zoned device with a conventional zone.
> > > This bug resulted in incorrect the overprovision and reserved area.
> > >
> > >
This fixes a regression which prevents parallel DIO reads.
Fixes: 0cac51185e65 ("f2fs: fix to avoid racing in between read and OPU dio
write")
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/file.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
inde
There was a problem that did not subtract the super block area when calculating
the usable segments for a single zoned device with a conventional zone.
This resulted in incorrect the overprovision and reserved area.
<256MiB legacy block + zoned block w/ 32MiB zone size>
Info: Overp
There was a problem that did not subtract the super block area when calculating
the usable segments for a single zoned device with a conventional zone.
This resulted in incorrect the overprovision and reserved area.
<256MiB legacy block + zoned block w/ 32MiB zone size>
Info: Overp