Re: [PATCH] Btrfs: clear uptodate flags of pages in sys_array eb

2016-06-06 Thread David Sterba
On Fri, Jun 03, 2016 at 06:16:18PM -0700, Liu Bo wrote: > On Fri, Jun 03, 2016 at 05:41:42PM -0700, Liu Bo wrote: > > We set uptodate flag to pages in the temporary sys_array eb, > > but do not clear the flag after free eb. As the special > > btree inode may still hold a reference on those pages,

Re: [PATCH] Btrfs: clear uptodate flags of pages in sys_array eb

2016-06-03 Thread Liu Bo
On Fri, Jun 03, 2016 at 05:41:42PM -0700, Liu Bo wrote: > We set uptodate flag to pages in the temporary sys_array eb, > but do not clear the flag after free eb. As the special > btree inode may still hold a reference on those pages, the > uptodate flag can remain alive in them. > > If

Re: [PATCH] Btrfs: clear uptodate flags of pages in sys_array eb

2016-06-03 Thread Josef Bacik
On 06/03/2016 08:41 PM, Liu Bo wrote: We set uptodate flag to pages in the temporary sys_array eb, but do not clear the flag after free eb. As the special btree inode may still hold a reference on those pages, the uptodate flag can remain alive in them. If btrfs_super_chunk_root has been

[PATCH] Btrfs: clear uptodate flags of pages in sys_array eb

2016-06-03 Thread Liu Bo
We set uptodate flag to pages in the temporary sys_array eb, but do not clear the flag after free eb. As the special btree inode may still hold a reference on those pages, the uptodate flag can remain alive in them. If btrfs_super_chunk_root has been intentionally changed to the offset of this