aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/ordered-data.c
AgeCommit message (Collapse)AuthorFilesLines
2008-09-25Btrfs: Fix data=ordered vs wait_on_inode deadlock on older kernelsChris Mason1-2/+10
Using ilookup5 during data=ordered writeback could deadlock on I_LOCK. This saves a pointer to the inode instead. Signed-off-by: Chris Mason <[email protected]>
2008-09-25Btrfs: Run igrab on data=ordered inodes to prevent deadlocks during writeoutChris Mason1-2/+8
Signed-off-by: Chris Mason <[email protected]>
2008-09-25Rework btrfs_drop_inode to avoid schedulingChris Mason1-0/+36
Signed-off-by: Chris Mason <[email protected]>
2008-09-25Btrfs: Add data=ordered supportChris Mason1-0/+221
This forces file data extents down the disk along with the metadata that references them. The current implementation is fairly simple, and just writes out all of the dirty pages in an inode before the commit. Signed-off-by: Chris Mason <[email protected]>