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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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, the
> > uptodate flag can remain alive in them.
> > 
> > If btrfs_super_chunk_root has been intentionally changed to the
> > offset of this sys_array eb, reading chunk_root will read content
> > of sys_array and it will pass our beautiful checks in
> 
> s/pass/skip/
> 
> My mistake, sorry.

Updated in the patch.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux