* This page will go to BIO. Do we need to send this BIO off first?
*/
if (bio && mpd->last_block_in_bio != blocks[0] - 1)
* This page will go to BIO. Do we need to send this BIO off first?
*/
if (bio && mpd->last_block_in_bio != blocks[0] - 1)
wbc_account_io(wbc, page, PAGE_SIZE);
length = first_unmapped << blkbits;
if (bio_add_page(bio, page, length, 0) < length) {
wbc_account_io(wbc, page, PAGE_SIZE);
length = first_unmapped << blkbits;
if (bio_add_page(bio, page, length, 0) < length) {
if (boundary_block) {
write_boundary_block(boundary_bdev,
boundary_block, 1 << blkbits);
if (boundary_block) {
write_boundary_block(boundary_bdev,
boundary_block, 1 << blkbits);
if (mpd->use_writepage) {
ret = mapping->a_ops->writepage(page, wbc);
if (mpd->use_writepage) {
ret = mapping->a_ops->writepage(page, wbc);
};
ret = write_cache_pages(mapping, wbc, __mpage_writepage, &mpd);
};
ret = write_cache_pages(mapping, wbc, __mpage_writepage, &mpd);