mm-use-blk_io_schedule-for-avoiding-task-hung-in-sync-io.patch removed from -mm tree
The patch titled
Subject: mm/page_io.c: use blk_io_schedule() for avoiding task hung in sync io
has been removed from the -mm tree. Its filename was
mm-use-blk_io_schedule-for-avoiding-task-hung-in-sync-io.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Xianting Tian <[email protected]>
Subject: mm/page_io.c: use blk_io_schedule() for avoiding task hung in sync io
swap_readpage() does the sync io for one page, the io is not big, normally, the io can be finished quickly, but it may take long time or wait forever in case of io failure or discard.
This patch uses blk_io_schedule() instead of io_schedule() to avoid task hung and crash (when set /proc/sys/kernel/hung_task_panic) when the above exception occurs.
This is similar to the hung task avoidance in submit_bio_wait(), blk_execute_rq() and __blkdev_direct_IO().
---
mm/page_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/page_io.c renamed from mm/page_io.c~mm-use-blk_io_schedule-for-avoiding-task-hung-in-sync-io +1 -1
@@ -441,7 +441,7 @@ int swap_readpage(struct page *page, boobreak ;if (!blk_poll (disk->queue, qc, true)) -io_schedule (); +blk_io_schedule (); }__set_current_state (TASK_RUNNING );bio_put (bio);
_
Patches currently in -mm which might be from [email protected] are