commit | edd1400be9f983f521c7397740d810fa210ee52f | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Thu Jun 27 18:51:00 2013 +0800 |
committer | Josef Bacik <jbacik@fusionio.com> | Tue Jul 02 11:50:58 2013 -0400 |
tree | 519d72227701fbb03c368aca6bf75a850841483c | |
parent | 826aa0a82c5b9d2c8016c02b552e8f82f5b1e660 [diff] |
Btrfs: fix several potential problems in copy_nocow_pages_for_inode - It makes no sense that we deal with a inode in the dead tree. - fix the race between dio and page copy by waiting the dio completion - avoid the page copy vs truncate/punch hole - check if the page is in the page cache or not Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>