Hi Ted, Today's linux-next merge of the ext4 tree got a conflict in fs/ext4/inode.c between commit ext4_da_update_reserve_space ("ext4: quota reservation for delayed allocation") from the quota tree and commit ext4_da_update_reserve_space ("ext4: Fix discard of inode prealloc space with delayed allocation") from the ext4 tree. I think this is just overlapping additions. I fixed it up by taking both changes (see below) but it is worth a look. -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx http://www.canb.auug.org.au/~sfr/ diff --cc fs/ext4/inode.c index a2845b5,8815b9c..0000000 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@@ -1050,11 -1054,13 +1065,19 @@@ static void ext4_da_update_reserve_spac spin_unlock(&EXT4_I(inode)->i_block_reservation_lock); /* + * free those over-booking quota for metadata blocks + */ + + if (mdb_free) + vfs_dq_release_reservation_block(inode, mdb_free); ++ ++ /* + * If have done all the pending block allocation and if the we + * don't have any writer on the inode, we can discard the + * inode's preallocations. + */ + if (!total && (atomic_read(&inode->i_writecount) == 0)) + ext4_discard_preallocations(inode); } /* -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html