lkml.org 
[lkml]   [1999]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH] 2.3.14: bug-fix for raw IO error recovery
Hi,

The patch below fixes a problem with map_user_kiobuf() failing to
reset its virtual address pointer before a retry if it encounters a
locked page.

--Stephen

----------------------------------------------------------------
--- mm/memory.c.~1~ Wed Aug 18 12:11:08 1999
+++ mm/memory.c Thu Aug 19 14:58:03 1999
@@ -540,8 +540,10 @@
wait_on_page(map);
}

- if (++repeat < 16)
+ if (++repeat < 16) {
+ ptr = va & PAGE_MASK;
goto repeat;
+ }
return -EAGAIN;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.044 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site