Re: [PATCH 1/7] ext2: tell DAX the size of allocation holes

2016-08-16 Thread Ross Zwisler
On Tue, Aug 16, 2016 at 11:10:25AM +0200, Jan Kara wrote: > On Mon 15-08-16 13:09:12, Ross Zwisler wrote: > > When DAX calls ext2_get_block() and the file offset points to a hole we > > currently don't set bh_result->b_size. When we re-enable PMD faults DAX > > will need bh_result->b_size to tell

Re: [PATCH 1/7] ext2: tell DAX the size of allocation holes

2016-08-16 Thread Ross Zwisler
On Tue, Aug 16, 2016 at 11:10:25AM +0200, Jan Kara wrote: > On Mon 15-08-16 13:09:12, Ross Zwisler wrote: > > When DAX calls ext2_get_block() and the file offset points to a hole we > > currently don't set bh_result->b_size. When we re-enable PMD faults DAX > > will need bh_result->b_size to tell

Re: [PATCH 1/7] ext2: tell DAX the size of allocation holes

2016-08-16 Thread Jan Kara
On Mon 15-08-16 13:09:12, Ross Zwisler wrote: > When DAX calls ext2_get_block() and the file offset points to a hole we > currently don't set bh_result->b_size. When we re-enable PMD faults DAX > will need bh_result->b_size to tell it the size of the hole so it can > decide whether to fault in a

Re: [PATCH 1/7] ext2: tell DAX the size of allocation holes

2016-08-16 Thread Jan Kara
On Mon 15-08-16 13:09:12, Ross Zwisler wrote: > When DAX calls ext2_get_block() and the file offset points to a hole we > currently don't set bh_result->b_size. When we re-enable PMD faults DAX > will need bh_result->b_size to tell it the size of the hole so it can > decide whether to fault in a