Christoph Hellwig
761e015e5a
xfs: avoid extra cache flushes for multi-device file systems in xfs_fsync
...
When xlog_force_lsn sets log_flushed, it has just called xlog_force_iclog
through xlog_force_and_check_iclog, which sets XLOG_ICL_NEED_FLUSH before
writing out the head iclog. This means that we already flushed the log,
data, and (with the recent fix) RT devices before writing out the iclog
start record and no extra cache flushed is required.
This optimizes the external log case, and fixes a performance regression
due to double RT dev flushes with "xfs: also flush the RT device cache in
xlog_write_iclog".
The explicit flush of the data that the device resides on when no iclog
was written out is still required.
Signed-off-by: Christoph Hellwig <hch@lst.de >
Reviewed-by: Darrick J. Wong <djwong@kernel.org >
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com >
Signed-off-by: Carlos Maiolino <cem@kernel.org >
2026-09-10 16:26:37 +02:00
..
2026-09-04 21:37:00 -07:00
2026-04-25 07:44:26 -07:00
2026-08-17 14:21:00 -07:00
2026-09-04 21:37:00 -07:00
2026-07-01 12:48:44 +02:00
2026-05-21 13:39:35 +02:00
2026-08-17 14:21:00 -07:00
2026-09-05 10:18:21 -07:00
2026-08-12 16:24:26 +02:00
2026-09-05 20:45:18 -07:00
2026-08-17 12:56:12 -07:00
2026-09-01 22:28:55 -04:00
2026-06-29 10:31:52 +02:00
2026-08-17 19:04:16 -07:00
2026-07-18 16:07:22 +02:00
2026-05-08 08:38:03 -05:00
2026-08-21 12:32:01 -07:00
2026-08-23 09:24:34 -07:00
2026-08-25 12:27:41 -07:00
2026-08-22 08:57:28 -07:00
2026-06-05 00:34:55 -04:00
2026-08-20 12:52:35 -07:00
2026-09-04 21:37:00 -07:00
2026-08-28 10:48:48 -07:00
2026-08-23 08:07:11 -07:00
2026-09-04 21:37:00 -07:00
2026-08-17 17:03:34 -07:00
2026-09-04 21:37:00 -07:00
2026-08-17 18:14:32 -07:00
2026-07-31 10:18:30 +02:00
2026-08-17 12:56:12 -07:00
2026-08-20 18:17:08 -07:00
2026-08-20 13:55:16 -07:00
2026-07-29 11:18:57 +02:00
2026-07-22 23:47:06 -04:00
2026-08-17 12:56:12 -07:00
2026-08-17 12:56:12 -07:00
2026-09-01 17:11:19 +02:00
2026-08-26 15:09:21 -07:00
2026-08-17 14:21:00 -07:00
2026-07-28 15:42:31 +02:00
2026-08-27 09:17:06 -07:00
2026-08-10 09:54:35 -04:00
2026-09-04 21:37:00 -07:00
2026-08-17 18:34:43 -07:00
2026-08-05 11:50:45 +02:00
2026-09-04 21:37:00 -07:00
2026-08-20 12:27:02 -07:00
2026-08-23 08:07:11 -07:00
2026-08-17 12:56:12 -07:00
2026-08-20 12:36:26 -07:00
2026-09-04 21:37:00 -07:00
2026-08-27 09:17:06 -07:00
2026-04-15 12:59:16 -07:00
2026-05-21 13:39:35 +02:00
2026-05-28 14:16:33 +02:00
2026-08-21 09:09:54 +02:00
2026-08-27 09:17:06 -07:00
2026-07-26 21:40:26 -07:00
2026-08-17 13:57:04 -07:00
2026-09-04 21:37:00 -07:00
2026-08-19 19:55:06 -07:00
2026-06-15 12:41:17 +05:30
2026-03-18 11:41:53 -07:00
2026-08-24 16:42:57 -04:00
2026-08-28 10:59:07 -07:00
2026-08-20 12:52:35 -07:00
2026-08-17 12:56:12 -07:00
2026-07-31 16:33:14 -04:00
2026-07-31 10:18:30 +02:00
2026-08-04 09:24:23 +02:00
2026-09-10 16:26:37 +02:00
2026-07-31 12:28:50 +02:00
2026-08-20 18:17:08 -07:00
2026-06-04 10:10:49 +02:00
2026-07-28 21:25:03 -07:00
2026-08-12 11:36:40 +02:00
2026-07-31 10:18:30 +02:00
2026-08-03 10:08:46 +02:00
2026-08-20 18:17:08 -07:00
2026-08-03 19:15:44 +02:00
2026-09-04 21:37:00 -07:00
2026-08-17 11:02:10 -07:00
2026-08-20 13:55:16 -07:00
2026-09-04 21:37:00 -07:00
2026-07-27 17:17:59 +02:00
2026-08-20 18:17:08 -07:00
2026-07-31 10:46:02 +02:00
2026-05-26 11:01:55 -06:00
2026-08-17 12:56:12 -07:00
2026-08-22 16:29:20 -07:00
2026-07-27 17:17:59 +02:00
2026-06-15 03:59:45 +05:30
2026-07-01 15:26:32 +02:00
2026-05-11 16:50:27 +02:00
2026-06-15 04:15:31 +05:30
2026-05-28 14:27:00 +02:00
2026-08-12 11:36:40 +02:00
2026-04-13 14:20:11 -07:00
2026-06-29 10:54:43 +02:00
2026-08-20 13:55:16 -07:00
2026-08-12 11:36:40 +02:00
2026-08-17 13:57:04 -07:00
2026-08-17 08:55:58 -07:00
2026-08-03 10:08:41 +02:00
2026-06-29 10:44:09 +02:00
2026-07-27 16:25:32 +02:00
2026-05-15 19:24:32 +02:00
2026-08-17 09:15:52 -07:00
2026-04-13 14:20:11 -07:00
2026-05-11 14:19:01 +02:00
2026-06-15 04:07:58 +05:30
2026-04-15 12:59:16 -07:00
2026-08-17 12:56:12 -07:00
2026-09-04 21:37:00 -07:00
2026-06-15 03:59:45 +05:30
2026-08-17 12:56:12 -07:00
2026-07-27 17:18:00 +02:00
2026-08-17 12:56:12 -07:00
2026-08-20 08:46:41 -07:00
2026-08-17 12:56:12 -07:00
2026-06-29 10:43:45 +02:00
2026-06-05 14:46:20 +02:00
2026-03-24 14:44:02 +01:00
2026-06-15 03:59:45 +05:30
2026-07-31 10:09:14 +02:00
2026-07-31 10:09:11 +02:00
2026-08-17 13:57:04 -07:00
2026-05-21 13:39:36 +02:00
2026-05-01 21:36:13 +02:00
2026-06-17 12:34:16 +01:00