* RHEL 4 and RHEL 5/SLES 10 clients behaves differently on 'cd' to a
removed cwd "./" (refer to Bugzilla 14399).
+Severity : normal
+Bugzilla : 15443
+Description: wait until IO finished before start new when do lock cancel.
+Details : VM protocol want old IO finished before start new, in this case
+ need wait until PG_writeback is cleared until check dirty flag and
+ call writepages in lock cancel callback.
+
Severity : enhancement
Bugzilla : 14929
Description: using special macro for print time and cleanup in includes.
cond_resched();
- page = find_get_page(mapping, i);
+ page = find_lock_page(mapping, i);
if (page == NULL)
continue;
LL_CDEBUG_PAGE(D_PAGE, page, "lock page idx %lu ext "LPU64"\n",
i, tmpex.l_extent.start);
- lock_page(page);
+ if (!discard && PageWriteback(page))
+ wait_on_page_writeback(page);
/* page->mapping to check with racing against teardown */
if (!discard && clear_page_dirty_for_io(page)) {
* the lock that the failed writepage released */
lock_page(page);
wait_on_page_writeback(page);
- if (rc != 0) {
+ if (rc < 0) {
CERROR("writepage inode %lu(%p) of page %p "
"failed: %d\n", inode->i_ino, inode,
page, rc);