Skip to content
f2fs-for-5.9-rc1

In this round, we've added two small interfaces, 1) GC_URGENT_LOW mode for
performance, and 2) F2FS_IOC_SEC_TRIM_FILE ioctl for security. The new GC
mode allows Android to run some lower priority GCs in background, while new
ioctl discards user information without race condition when the account is
removed. In addition, some patches were merged to address latency-related
issues. We've fixed some compression-related bug fixes as well as edge race
conditions.

Enhancement:
 - add GC_URGENT_LOW mode in gc_urgent
 - introduce F2FS_IOC_SEC_TRIM_FILE ioctl
 - bypass racy readahead to improve read latencies
 - shrink node_write lock coverage to avoid long latency

Bug fix:
 - fix missing compression flag control, i_size, and mount option
 - fix deadlock between quota writes and checkpoint
 - remove inode eviction path in synchronous path to avoid deadlock
 - fix to wait GCed compressed page writeback
 - fix a kernel panic in f2fs_is_compressed_page
 - check page dirty status before writeback
 - wait page writeback before update in node page write flow
 - fix a race condition between f2fs_write_end_io and f2fs_del_fsync_node_entry

We've added some minor sanity checks and refactored trivial code blocks for
better readability and debugging information.