mirror of
https://github.com/torvalds/linux.git
synced 2026-09-15 15:01:08 -04:00
Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
This commit is contained in:
@@ -188,7 +188,6 @@ static int __cleanup_transaction(journal_t *journal, transaction_t *transaction)
|
||||
} else {
|
||||
jbd_unlock_bh_state(bh);
|
||||
}
|
||||
jh = next_jh;
|
||||
} while (jh != last_jh);
|
||||
|
||||
return ret;
|
||||
@@ -339,8 +338,10 @@ int log_do_checkpoint(journal_t *journal)
|
||||
}
|
||||
} while (jh != last_jh && !retry);
|
||||
|
||||
if (batch_count)
|
||||
if (batch_count) {
|
||||
__flush_batch(journal, bhs, &batch_count);
|
||||
retry = 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* If someone cleaned up this transaction while we slept, we're
|
||||
|
||||
@@ -79,8 +79,11 @@ static int mpage_end_io_write(struct bio *bio, unsigned int bytes_done, int err)
|
||||
if (--bvec >= bio->bi_io_vec)
|
||||
prefetchw(&bvec->bv_page->flags);
|
||||
|
||||
if (!uptodate)
|
||||
if (!uptodate){
|
||||
SetPageError(page);
|
||||
if (page->mapping)
|
||||
set_bit(AS_EIO, &page->mapping->flags);
|
||||
}
|
||||
end_page_writeback(page);
|
||||
} while (bvec >= bio->bi_io_vec);
|
||||
bio_put(bio);
|
||||
|
||||
Reference in New Issue
Block a user