Re: [f2fs-dev] [PATCH v3] generic/066: attr1 is still there after log replay on f2fs

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On 2022/3/23 16:37, Sun Ke via Linux-f2fs-devel wrote:
The test fail on f2fs:
      xattr names and values after second fsync log replay:
      # file: SCRATCH_MNT/foobar
     +user.attr1="val1"
      user.attr3="val3"

attr1 is still there after log replay. f2fs doesn't support fs-op level
transaction functionality. so it have no way to persist all metadata
updates in one transaction.  We can use "fastboot" mountoption for this
case, so during last fsync on qwerty, f2fs can trigger a checkpoint
which will persist all metadata updates before fsync().

Suggested-by: Chao Yu <chao@xxxxxxxxxx>
Signed-off-by: Sun Ke <sunke32@xxxxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux