Jens Axboe
b31dc66a54
[PATCH] Kill PF_SYNCWRITE flag
...
A process flag to indicate whether we are doing sync io is incredibly
ugly. It also causes performance problems when one does a lot of async
io and then proceeds to sync it. Part of the io will go out as async,
and the other part as sync. This causes a disconnect between the
previously submitted io and the synced io. For io schedulers such as CFQ,
this will cause us lost merges and suboptimal behaviour in scheduling.
Remove PF_SYNCWRITE completely from the fsync/msync paths, and let
the O_DIRECT path just directly indicate that the writes are sync
by using WRITE_SYNC instead.
Signed-off-by: Jens Axboe <axboe@suse.de >
2006-06-23 17:10:39 +02:00
..
2006-06-20 15:10:08 -07:00
2006-06-20 15:10:08 -07:00
2006-06-20 15:10:08 -07:00
2006-06-21 15:04:18 -07:00
2006-06-23 07:42:48 -07:00
2006-06-20 15:37:56 -07:00
2006-06-23 17:10:39 +02:00
2006-06-23 17:10:38 +02:00
2006-06-23 07:42:46 -07:00
2006-06-23 07:43:06 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-06-22 11:22:50 -07:00
2006-06-23 07:52:36 -07:00
2006-06-23 07:42:45 -07:00
2006-06-21 15:01:33 +10:00
2006-06-21 12:40:49 -07:00
2006-06-23 02:07:36 -07:00
2006-06-23 07:43:03 -07:00
2006-06-23 07:42:49 -07:00
2006-06-22 23:32:03 -04:00
2006-06-23 07:42:48 -07:00
2006-06-22 11:10:33 -07:00
2006-06-22 11:10:34 -07:00
2006-06-20 15:10:08 -07:00
2006-06-23 07:43:08 -07:00
2006-06-20 20:24:58 -07:00
2006-06-23 07:43:07 -07:00
2006-06-23 07:43:08 -07:00
2006-06-23 07:43:08 -07:00
2006-06-21 12:40:49 -07:00
2006-06-23 07:43:08 -07:00
2006-06-23 07:43:06 -07:00
2006-06-23 07:43:02 -07:00
2006-06-22 15:05:56 -07:00
2006-06-21 12:40:48 -07:00
2006-06-23 07:43:07 -07:00
2006-06-22 11:10:32 -07:00
2006-06-20 15:10:08 -07:00
2006-06-23 07:42:53 -07:00
2006-06-23 07:42:51 -07:00
2006-06-23 07:42:51 -07:00
2006-06-23 07:43:03 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 02:07:36 -07:00
2006-06-22 11:22:50 -07:00
2006-06-23 07:42:46 -07:00
2006-06-23 07:43:02 -07:00
2006-06-22 15:08:56 -07:00
2006-06-22 15:05:56 -07:00
2006-06-21 12:00:00 -07:00
2006-06-23 07:43:06 -07:00
2006-06-23 07:43:03 -07:00
2006-06-23 07:42:49 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:43:07 -07:00
2006-06-23 07:42:50 -07:00
2006-06-23 17:10:39 +02:00
2006-06-23 07:42:54 -07:00
2006-06-20 17:52:36 -07:00
2006-06-23 02:07:42 -07:00
2006-06-23 07:42:52 -07:00
2006-06-23 07:43:06 -07:00
2006-06-23 07:42:59 -07:00
2006-06-23 07:42:52 -07:00
2006-06-23 07:42:50 -07:00
2006-06-23 07:42:53 -07:00
2006-06-23 07:42:47 -07:00
2006-06-21 12:40:48 -07:00
2006-06-23 02:07:40 -07:00
2006-06-21 12:40:47 -07:00
2006-06-23 07:42:56 -07:00
2006-06-21 15:04:19 -07:00
2006-06-23 07:42:49 -07:00
2006-06-20 15:10:08 -07:00
2006-06-23 07:42:49 -07:00
2006-06-22 15:05:58 -07:00
2006-06-22 15:05:58 -07:00
2006-06-23 07:43:00 -07:00
2006-06-22 15:05:58 -07:00