Re: [PATCH V2] Btrfs: flush all dirty inodes if writeback can not start

2013-01-08 Thread Josef Bacik
On Mon, Dec 24, 2012 at 02:57:19AM -0700, Miao Xie wrote: We may try to flush some dirty pages when there is no enough space to reserve. But it is possible that this operation fails, in order to get enough space to reserve successfully, we will sync all the delalloc file. This operation is

[PATCH V2] Btrfs: flush all dirty inodes if writeback can not start

2012-12-24 Thread Miao Xie
We may try to flush some dirty pages when there is no enough space to reserve. But it is possible that this operation fails, in order to get enough space to reserve successfully, we will sync all the delalloc file. This operation is safe, we needn't worry about the case that the filesystem goes