Re: [PATCH v5 09/17] dax: coordinate locking for offsets in PMD range

2016-10-11 Thread Ross Zwisler
On Tue, Oct 11, 2016 at 09:04:09AM +0200, Jan Kara wrote: > On Fri 07-10-16 15:08:56, Ross Zwisler wrote: > > DAX radix tree locking currently locks entries based on the unique > > combination of the 'mapping' pointer and the pgoff_t 'index' for the entry. > > This works for PTEs, but as we move

Re: [PATCH v5 09/17] dax: coordinate locking for offsets in PMD range

2016-10-11 Thread Ross Zwisler
On Tue, Oct 11, 2016 at 09:04:09AM +0200, Jan Kara wrote: > On Fri 07-10-16 15:08:56, Ross Zwisler wrote: > > DAX radix tree locking currently locks entries based on the unique > > combination of the 'mapping' pointer and the pgoff_t 'index' for the entry. > > This works for PTEs, but as we move

Re: [PATCH v5 09/17] dax: coordinate locking for offsets in PMD range

2016-10-11 Thread Jan Kara
On Fri 07-10-16 15:08:56, Ross Zwisler wrote: > DAX radix tree locking currently locks entries based on the unique > combination of the 'mapping' pointer and the pgoff_t 'index' for the entry. > This works for PTEs, but as we move to PMDs we will need to have all the > offsets within the range

Re: [PATCH v5 09/17] dax: coordinate locking for offsets in PMD range

2016-10-11 Thread Jan Kara
On Fri 07-10-16 15:08:56, Ross Zwisler wrote: > DAX radix tree locking currently locks entries based on the unique > combination of the 'mapping' pointer and the pgoff_t 'index' for the entry. > This works for PTEs, but as we move to PMDs we will need to have all the > offsets within the range

Re: [PATCH v5 09/17] dax: coordinate locking for offsets in PMD range

2016-10-10 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [PATCH v5 09/17] dax: coordinate locking for offsets in PMD range

2016-10-10 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

[PATCH v5 09/17] dax: coordinate locking for offsets in PMD range

2016-10-07 Thread Ross Zwisler
DAX radix tree locking currently locks entries based on the unique combination of the 'mapping' pointer and the pgoff_t 'index' for the entry. This works for PTEs, but as we move to PMDs we will need to have all the offsets within the range covered by the PMD to map to the same bit lock. To

[PATCH v5 09/17] dax: coordinate locking for offsets in PMD range

2016-10-07 Thread Ross Zwisler
DAX radix tree locking currently locks entries based on the unique combination of the 'mapping' pointer and the pgoff_t 'index' for the entry. This works for PTEs, but as we move to PMDs we will need to have all the offsets within the range covered by the PMD to map to the same bit lock. To