Bob Peterson b63f5e8482 GFS2: Wake up io waiters whenever a flush is done
Before this patch, if a process called function gfs2_log_reserve to
reserve some journal blocks, but the journal not enough blocks were
free, it would call io_schedule. However, in the log flush daemon,
it woke up the waiters only if an gfs2_ail_flush was no longer
required. This resulted in situations where processes would wait
forever because the number of blocks required was so high that it
pushed the journal into a perpetual state of flush being required.

This patch changes the logd daemon so that it wakes up io waiters
every time the log is actually flushed.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
2017-01-06 22:14:28 -05:00
..
2016-05-12 22:28:05 -04:00
2016-05-12 22:28:05 -04:00
2014-03-03 13:50:12 +00:00
2016-06-27 09:47:09 -05:00
2016-08-02 12:05:27 -05:00
2016-06-27 09:47:08 -05:00
2016-06-27 09:47:09 -05:00
2016-08-02 12:05:27 -05:00
2013-06-03 14:20:18 -07:00
2015-11-09 15:11:24 -08:00
2014-05-14 10:04:34 +01:00
2016-06-07 13:41:38 -06:00
2016-08-02 12:05:27 -05:00
2016-08-02 12:05:27 -05:00
2015-05-05 13:23:22 -05:00
2015-12-06 21:25:17 -05:00