Re: [f2fs-dev] [PATCH v11 54/63] dax: Hash on XArray instead of mapping

2018-05-22 Thread Ross Zwisler
On Mon, May 21, 2018 at 03:25:24AM -0700, Matthew Wilcox wrote: > On Sun, May 20, 2018 at 10:47:56PM -0600, Ross Zwisler wrote: > > On Sat, Apr 14, 2018 at 07:13:07AM -0700, Matthew Wilcox wrote: > > > From: Matthew Wilcox > > > > > > Since the XArray is embedded in the struct address_space, this

Re: [f2fs-dev] [PATCH v11 54/63] dax: Hash on XArray instead of mapping

2018-05-21 Thread Matthew Wilcox
On Sun, May 20, 2018 at 10:47:56PM -0600, Ross Zwisler wrote: > On Sat, Apr 14, 2018 at 07:13:07AM -0700, Matthew Wilcox wrote: > > From: Matthew Wilcox > > > > Since the XArray is embedded in the struct address_space, this contains > > exactly as much entropy as the address of the mapping. > >

Re: [f2fs-dev] [PATCH v11 54/63] dax: Hash on XArray instead of mapping

2018-05-20 Thread Ross Zwisler
On Sat, Apr 14, 2018 at 07:13:07AM -0700, Matthew Wilcox wrote: > From: Matthew Wilcox > > Since the XArray is embedded in the struct address_space, this contains > exactly as much entropy as the address of the mapping. I agree that they both have the same amount of entropy, but what's the benef

[f2fs-dev] [PATCH v11 54/63] dax: Hash on XArray instead of mapping

2018-04-14 Thread Matthew Wilcox
From: Matthew Wilcox Since the XArray is embedded in the struct address_space, this contains exactly as much entropy as the address of the mapping. Signed-off-by: Matthew Wilcox --- fs/dax.c | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/fs/