Jan Kara
4ea425b63a
vfs: Avoid unnecessary WB_SYNC_NONE writeback during sys_sync and reorder sync passes
...
wakeup_flusher_threads(0) will queue work doing complete writeback for each
flusher thread. Thus there is not much point in submitting another work doing
full inode WB_SYNC_NONE writeback by writeback_inodes_sb().
After this change it does not make sense to call nonblocking ->sync_fs and
block device flush before calling sync_inodes_sb() because
wakeup_flusher_threads() is completely asynchronous and thus these functions
would be called in parallel with inode writeback running which will effectively
void any work they do. So we move sync_inodes_sb() call before these two
functions.
Signed-off-by: Jan Kara <jack@suse.cz >
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
2012-07-22 23:59:01 +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-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-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-07-14 16:35:42 +04:00
2012-07-14 16:34:47 +04:00
2012-05-23 17:42:39 -07:00
2012-05-30 21:04:55 -04:00
2012-05-30 21:04:56 -04: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
2012-06-01 11:53:44 -07:00
2012-07-14 16:35:15 +04: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-07-22 23:57:58 +04: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-05-30 08:52:42 -07:00
2012-07-14 16:38:34 +04:00
2012-07-13 10:50:23 -07:00
2012-07-14 16:32:48 +04: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-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-05-29 23:28:30 -04:00
2012-06-13 21:16:42 +02: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:59:01 +04:00
2012-05-29 23:28:32 -04:00
2012-05-29 23:28:30 -04:00