Re: [PATCH v2] dm: Call proper helper to determine dax support

2020-09-21 Thread Jan Kara
On Mon 21-09-20 11:23:07, Naresh Kamboju wrote: > On Fri, 18 Sep 2020 at 11:18, Dan Williams wrote: > > > > From: Jan Kara > > > > DM was calling generic_fsdax_supported() to determine whether a device > > referenced in the DM table supports DAX. However this is a helper for > > "leaf" device

Re: [PATCH v2] dm: Call proper helper to determine dax support

2020-09-20 Thread Naresh Kamboju
On Fri, 18 Sep 2020 at 11:18, Dan Williams wrote: > > From: Jan Kara > > DM was calling generic_fsdax_supported() to determine whether a device > referenced in the DM table supports DAX. However this is a helper for "leaf" > device drivers so that > they don't have to duplicate common generic

Re: [dm-devel] [PATCH v2] dm: Call proper helper to determine dax support

2020-09-18 Thread Dan Williams
On Fri, Sep 18, 2020 at 8:31 AM Darrick J. Wong wrote: > > On Thu, Sep 17, 2020 at 10:30:03PM -0700, Dan Williams wrote: > > From: Jan Kara > > > > DM was calling generic_fsdax_supported() to determine whether a device > > referenced in the DM table supports DAX. However this is a helper for >

Re: [dm-devel] [PATCH v2] dm: Call proper helper to determine dax support

2020-09-18 Thread Darrick J. Wong
On Thu, Sep 17, 2020 at 10:30:03PM -0700, Dan Williams wrote: > From: Jan Kara > > DM was calling generic_fsdax_supported() to determine whether a device > referenced in the DM table supports DAX. However this is a helper for "leaf" > device drivers so that > they don't have to duplicate common

[PATCH v2] dm: Call proper helper to determine dax support

2020-09-17 Thread Dan Williams
From: Jan Kara DM was calling generic_fsdax_supported() to determine whether a device referenced in the DM table supports DAX. However this is a helper for "leaf" device drivers so that they don't have to duplicate common generic checks. High level code should call dax_supported() helper which