Re: [PATCH] libblkid: add dax capability detection in topology probing

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

 



On Wed, May 06, 2020 at 03:21:41PM +0200, Anthony Iliopoulos wrote:
> On Wed, May 06, 2020 at 03:08:47PM +0200, Karel Zak wrote:
> > On Tue, May 05, 2020 at 04:31:45PM +0200, Anthony Iliopoulos wrote:
> > > The dax (direct access) blockdev capability is exposed via sysfs, add it
> > > to the list of topology values to be obtained while probing.
> > > 
> > > Expose blkid_topology_get_dax() symbol that programs can link against
> > > for querying the capability.
> > 
> > Do we have any use-case for this change? 
> > 
> > We maintain blkid_topology_* mostly for mkfs-like programs portability 
> > (years ago we had only ioctls, etc..). You can see that libblkid export
> > only small subset topology stuff, so why we need DAX there? ;-)
> 
> The use-case is indeed mkfs. I am planning to submit a patch to xfsprogs

Yes, hch is the reason why we have topology API in libblkid :-)

Applied, thanks.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux