Re: [PATCH 1/5] Btrfs: test_check_exists: Fix infinite loop when searching for free space entries

2016-05-29 Thread Feifei Xu
On 2016/5/27 23:43, Josef Bacik wrote: fs/btrfs/free-space-cache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c index 5e6062c..05c9ef8 100644 --- a/fs/btrfs/free-space-cache.c +++ b/fs/btrfs/free-space-cache.c @@ -3662,6

Re: [PATCH 1/5] Btrfs: test_check_exists: Fix infinite loop when searching for free space entries

2016-05-27 Thread Josef Bacik
On 05/27/2016 03:00 AM, Feifei Xu wrote: On a ppc64 machine using 64K as the block size, assume that the RB tree at btrfs_free_space_ctl->free_space_offset contains following two entries: 1. A bitmap entry having an offset value of 0 and having the bits corresponding to the address range

[PATCH 1/5] Btrfs: test_check_exists: Fix infinite loop when searching for free space entries

2016-05-27 Thread Feifei Xu
On a ppc64 machine using 64K as the block size, assume that the RB tree at btrfs_free_space_ctl->free_space_offset contains following two entries: 1. A bitmap entry having an offset value of 0 and having the bits corresponding to the address range [128M+512K, 128M+768K] set. 2. An extent entry