commit | f2b1c41cf94d7f839fe9ede5f3ead92698a93fb3 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Mon Nov 10 07:31:30 2008 -0500 |
committer | Chris Mason <chris.mason@oracle.com> | Mon Nov 10 07:31:30 2008 -0500 |
tree | dbde0effe5d2e147dd74af96b29ece862b94960d | |
parent | 5b7c3fcc46b5deb8a368d5319cf87c78c2df65fe [diff] |
Btrfs: Make sure pages are dirty before doing delalloc for them This adds a PageDirty check to the writeback path that locks pages for delalloc. If a page wasn't dirty at this point, it is in the process of being truncated away. Signed-off-by: Chris Mason <chris.mason@oracle.com>