Yunlei He
7b9a87094a
UPSTREAM: f2fs: avoid hungtask problem caused by losing wake_up
...
The D state of wait_on_all_pages_writeback should be waken by
function f2fs_write_end_io when all writeback pages have been
succesfully written to device. It's possible that wake_up comes
between get_pages and io_schedule. Maybe in this case it will
lost wake_up and still in D state even if all pages have been
write back to device, and finally, the whole system will be into
the hungtask state.
if (!get_pages(sbi, F2FS_WRITEBACK))
break;
<--------- wake_up
io_schedule();
Change-Id: I8a60393c91343d75b7d48df2ca19d1735d69cc51
Signed-off-by: Yunlei He <heyunlei@huawei.com >
Signed-off-by: Biao He <hebiao6@huawei.com >
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org >
(cherry picked from commit 0ff21646f2 )
Signed-off-by: Cliff Chen <cliff.chen@rock-chips.com >
2016-11-08 10:13:01 +08:00
..
2016-10-31 04:13:58 -06:00
2015-06-30 19:44:57 -07:00
2016-06-07 18:14:32 -07:00
2016-09-30 10:18:37 +02:00
2015-07-04 19:36:06 -07:00
2016-10-31 04:13:58 -06:00
2015-11-16 20:38:43 -05:00
2016-10-31 04:13:58 -06:00
2016-10-28 03:01:33 -04:00
2015-09-10 13:29:01 -07:00
2015-11-20 16:17:32 -08:00
2016-05-04 14:48:41 -07:00
2016-08-16 09:30:49 +02:00
2016-10-22 12:26:56 +02:00
2016-09-15 08:27:47 +02:00
2016-03-03 15:07:09 -08:00
2015-06-25 17:00:42 -07:00
2015-12-12 10:15:34 -08:00
2016-10-31 04:13:58 -06:00
2016-11-01 12:01:20 +08:00
2016-11-08 10:13:01 +08:00
2015-11-20 16:17:32 -08:00
2015-08-07 13:59:24 +02:00
2015-11-11 02:11:02 -05:00
2016-10-24 12:30:07 +08:00
2016-10-31 04:13:58 -06:00
2015-09-10 13:29:01 -07:00
2016-10-31 04:13:58 -06:00
2016-09-30 10:18:39 +02:00
2016-06-01 12:15:54 -07:00
2016-02-25 12:01:22 -08:00
2016-10-28 03:01:34 -04:00
2016-10-28 03:01:35 -04:00
2016-10-31 04:13:58 -06:00
2016-10-31 04:13:58 -06:00
2016-09-24 10:07:36 +02:00
2015-11-11 20:11:28 -08:00
2015-11-06 17:50:42 -08:00
2015-07-04 19:36:06 -07:00
2016-03-16 08:42:59 -07:00
2016-10-28 03:01:31 -04:00
2015-08-13 10:22:06 -04:00
2016-09-24 10:07:36 +02:00
2016-08-10 11:49:25 +02:00
2016-10-11 23:33:37 +02:00
2015-11-06 17:50:42 -08:00
2016-10-31 04:13:58 -06:00
2016-10-28 03:01:30 -04:00
2016-10-12 17:34:22 +05:30
2016-10-29 13:26:04 +08:00
2015-06-23 18:02:00 -04:00
2016-04-12 09:08:56 -07:00
2015-10-16 11:42:28 -07:00
2016-10-31 04:13:58 -06:00
2016-08-18 18:56:03 +05:30
2015-11-13 20:34:33 -05:00
2016-09-07 08:32:46 +02:00
2015-11-23 21:11:08 -05:00
2015-11-04 22:13:45 -05:00
2016-10-28 03:01:35 -04:00
2016-02-25 12:01:18 -08:00
2015-09-09 10:43:12 -07:00
2016-10-31 04:13:58 -06:00
2016-10-07 15:23:47 +02:00
2016-10-22 12:26:56 +02:00
2015-11-10 12:07:22 -08:00
2016-04-07 16:49:59 +05:30
2015-12-04 11:02:17 -07:00
2015-11-11 02:19:33 -05:00
2015-08-05 13:49:35 -07:00
2015-10-23 23:26:43 +02:00
2016-04-12 09:08:58 -07:00
2015-11-16 23:54:45 -08:00
2016-08-18 12:33:31 +08:00
2016-03-03 15:07:28 -08:00
2015-08-17 18:39:46 -04:00
2016-07-11 12:43:04 +05:30
2015-07-10 10:39:25 -05:00
2016-04-12 09:08:58 -07:00
2015-08-07 04:39:40 +03:00
2015-11-05 23:05:32 -08:00
2016-04-13 12:02:21 +08:00
2016-08-10 11:49:30 +02:00
2015-08-17 23:38:10 -04:00
2016-04-07 16:50:01 +05:30
2015-08-12 15:28:45 -05:00
2016-08-10 11:49:27 +02:00
2016-04-07 16:50:01 +05:30
2015-06-30 19:44:56 -07:00
2016-10-12 17:34:22 +05:30
2016-09-15 08:27:49 +02:00
2016-08-10 11:49:27 +02:00
2015-09-11 15:21:34 -07:00
2016-05-18 17:06:48 -07:00
2016-06-07 18:14:35 -07:00
2016-05-11 11:21:19 +02:00
2015-07-22 20:33:27 -05:00
2016-10-31 04:13:58 -06:00
2016-04-12 09:08:55 -07:00
2016-07-11 12:43:04 +05:30
2016-09-07 08:32:43 +02:00
2015-08-07 04:39:40 +03:00
2016-04-12 09:08:55 -07:00
2015-11-09 15:11:24 -08:00
2016-10-29 13:26:04 +08:00
2015-11-06 17:50:42 -08:00
2016-02-25 12:01:25 -08:00
2016-03-17 12:51:17 +08:00
2016-10-22 12:26:56 +02:00
2015-11-13 20:34:33 -05:00