mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
ed49ff0eba
Add FL_SKIPPED, FL_CLOSE_OPEN, and FL_KEEP_SIZE flags to the log entries. Use FL_SKIPPED to indicate that an operation was skipped. Use FL_CLOSE_OPEN to encode when an operation is followed by a close/open cycle. Use FL_KEEP_SIZE to indicate when the OP_ZERO_RANGE and OP_FALLOCATE operations should keep the file size unchanged and put the current file size into args[2] so that we can tell which operation was actually called from the log. After that, arg2 of log4 is always either unused or the current file size, so remove it and unconditionally remember the current file size. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>