Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251211
b: refs/heads/master
c: cbf4629
h: refs/heads/master
i:
  251209: 79fcb95
  251207: 723c77f
v: v3
  • Loading branch information
Chris Lalancette authored and Konrad Rzeszutek Wilk committed Apr 14, 2011
1 parent 6f2b9e2 commit 9b0c1db
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 98e036a356747cfaa225478b1e4875e190257b09
refs/heads/master: cbf462908c8080f47c2a3300072877589dd1275f
7 changes: 7 additions & 0 deletions trunk/drivers/xen/blkback/xenbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ static void update_blkif_status(blkif_t *blkif)
return;
}

err = filemap_write_and_wait(blkif->vbd.bdev->bd_inode->i_mapping);
if (err) {
xenbus_dev_error(blkif->be->dev, err, "block flush");
return;
}
invalidate_inode_pages2(blkif->vbd.bdev->bd_inode->i_mapping);

blkif->xenblkd = kthread_run(blkif_schedule, blkif, name);
if (IS_ERR(blkif->xenblkd)) {
err = PTR_ERR(blkif->xenblkd);
Expand Down

0 comments on commit 9b0c1db

Please sign in to comment.