Jan Kara
d0e91b13eb
vfs: Remove unnecessary flushing of block devices
...
It is not necessary to write block devices twice. The reason why we first did
flush and then proper sync is that
for_each_bdev() {
write_bdev()
wait_for_completion()
}
is much slower than
for_each_bdev()
write_bdev()
for_each_bdev()
wait_for_completion()
when there is bigger amount of data. But as is seen in the above, there's no real
need to scan pages and submit them twice. We just need to separate the submission
and waiting part. This patch does that.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-07-22 23:58:53 +04:00
..
2012-07-14 16:38:34 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:38:34 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:38:34 +04:00
2012-07-14 16:34:50 +04:00
2012-07-14 16:38:34 +04:00
2012-07-14 16:38:34 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:35:30 +04:00
2012-07-14 16:38:34 +04:00
2012-05-15 10:39:28 -05:00
2012-07-14 16:38:34 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:32:55 +04:00
2012-07-22 23:58:34 +04:00
2012-07-22 23:58:34 +04:00
2012-07-22 23:58:34 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:47 +04:00
2012-07-22 23:58:34 +04:00
2012-07-22 23:58:09 +04:00
2012-07-22 23:58:04 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:32 +04:00
2012-05-15 23:34:37 +02:00
2012-06-01 00:10:32 -04:00
2012-07-14 16:34:47 +04:00
2012-07-22 23:58:34 +04:00
2012-06-01 08:32:58 -07:00
2012-07-14 16:38:34 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:38:34 +04:00
2012-07-14 16:34:50 +04:00
2012-07-14 16:38:34 +04:00
2012-06-01 19:51:22 -07:00
2012-07-14 16:32:55 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:38:34 +04:00
2012-06-20 15:15:03 -07:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:32 +04:00
2012-07-22 23:58:19 +04:00
2012-07-14 16:34:47 +04:00
2012-07-22 23:58:34 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:38:34 +04:00
2012-07-22 23:58:12 +04:00
2012-07-14 16:38:34 +04:00
2012-07-14 16:34:47 +04:00
2012-07-22 23:58:16 +04:00
2012-07-14 16:34:47 +04:00
2012-07-22 23:57:59 +04:00
2012-03-20 21:29:45 -04:00
2012-07-14 16:35:42 +04:00
2012-07-14 16:34:47 +04:00
2012-04-20 17:29:13 -07:00
2012-05-23 17:42:39 -07:00
2012-05-30 21:04:55 -04:00
2012-03-20 21:29:46 -04:00
2012-05-30 21:04:56 -04:00
2012-05-06 13:43:41 +08:00
2012-03-20 21:29:46 -04:00
2012-04-20 17:29:13 -07:00
2012-03-20 21:48:21 +08:00
2012-05-30 08:52:42 -07:00
2012-07-22 23:58:45 +04:00
2012-07-13 08:36:35 -07:00
2011-12-13 11:18:17 -08:00
2012-03-24 10:24:31 -07:00
2012-06-01 11:53:44 -07:00
2012-07-14 16:35:15 +04:00
2012-02-28 19:31:58 -05:00
2012-07-14 16:32:46 +04:00
2012-05-31 17:49:32 -07:00
2012-06-01 12:58:46 -04:00
2012-06-20 14:39:36 -07:00
2012-05-29 23:28:30 -04:00
2012-01-06 23:16:53 -05:00
2012-07-22 23:57:58 +04:00
2012-03-29 18:12:23 -07:00
2012-01-03 22:52:39 -05:00
2012-07-14 16:32:47 +04:00
2012-07-22 23:58:18 +04:00
2012-07-14 16:32:55 +04:00
2012-07-14 16:38:36 +04:00
2012-02-28 19:31:58 -05:00
2012-05-30 08:52:42 -07:00
2012-03-21 13:36:41 -07:00
2012-05-15 09:17:34 -04:00
2012-07-14 16:38:34 +04:00
2012-07-13 10:50:23 -07:00
2012-03-20 21:29:38 -04:00
2012-07-14 16:32:48 +04:00
2012-02-28 19:31:58 -05:00
2012-07-22 23:57:53 +04:00
2012-07-14 16:38:32 +04:00
2012-07-14 16:35:54 +04:00
2012-06-01 12:07:25 -04:00
2012-07-14 16:37:27 +04:00
2012-01-03 22:57:11 -05:00
2012-02-28 19:31:58 -05:00
2012-07-14 16:32:48 +04:00
2012-05-31 17:49:32 -07:00
2012-05-29 23:28:29 -04:00
2012-06-01 12:58:46 -04:00
2012-03-24 10:24:31 -07:00
2012-05-29 23:28:30 -04:00
2012-06-13 21:16:42 +02:00
2012-02-28 19:31:58 -05:00
2012-05-23 17:42:39 -07:00
2012-05-29 23:28:31 -04:00
2012-07-14 16:38:34 +04:00
2012-07-22 23:58:53 +04:00
2012-05-29 23:28:32 -04:00
2012-02-28 19:31:58 -05:00
2012-05-29 23:28:30 -04:00