Re: [PATCH] Btrfs: fill -last_trans for delayed inode in btrfs_fill_inode.

2015-04-09 Thread Miao Xie
On Thu, 09 Apr 2015 12:08:43 +0800, Dongsheng Yang wrote: We need to fill inode when we found a node for it in delayed_nodes_tree. But we did not fill the -last_trans currently, it will cause the test of xfstest/generic/311 fail. Scenario of the 311 is shown as below: Problem: (1).

[PATCH] Btrfs: fill -last_trans for delayed inode in btrfs_fill_inode.

2015-04-08 Thread Dongsheng Yang
We need to fill inode when we found a node for it in delayed_nodes_tree. But we did not fill the -last_trans currently, it will cause the test of xfstest/generic/311 fail. Scenario of the 311 is shown as below: Problem: (1). test_fd = open(fname, O_RDWR|O_DIRECT) (2).