linux/fs/bcachefs
Pankaj Raghav febc33cb35 bcachefs: set fgf order hint before starting a buffered write
Set the preferred folio order in the fgp_flags by calling
fgf_set_order(). Page cache will try to allocate large folio of the
preferred order whenever possible instead of allocating multiple 0 order
folios.

This improves the buffered write performance up to 1.25x with default
mount options and up to 1.57x when mounted with no_data_io option with
the following fio workload:

fio --name=bcachefs --filename=/mnt/test  --size=100G \
     --ioengine=io_uring --iodepth=16 --rw=write --bs=128k

Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-07-14 19:00:15 -04:00
..
2024-07-14 19:00:13 -04:00
2024-03-13 21:22:26 -04:00
2024-07-14 19:00:15 -04:00
2024-03-13 18:39:12 -04:00
2024-01-01 11:46:52 -05:00
2024-01-21 13:27:10 -05:00
2024-01-21 13:27:11 -05:00
2024-07-14 19:00:13 -04:00
2024-01-21 13:27:11 -05:00
2024-03-13 18:39:12 -04:00
2024-07-14 19:00:12 -04:00
2024-07-14 19:00:15 -04:00
2024-01-21 13:27:10 -05:00
2024-07-14 19:00:13 -04:00
2024-07-14 19:00:12 -04:00
2024-01-21 13:27:10 -05:00
2024-01-21 13:27:11 -05:00
2024-07-14 19:00:15 -04:00
2024-07-14 19:00:13 -04:00
2024-05-08 17:29:19 -04:00
2024-06-23 00:57:21 -04:00
2024-01-01 11:47:40 -05:00
2024-01-21 13:27:10 -05:00
2024-05-08 17:29:19 -04:00
2024-07-14 19:00:13 -04:00
2024-07-14 19:00:15 -04:00
2024-01-21 13:27:10 -05:00