Re: fs_dax_get_by_host in the hot path

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

 



On Thu, Aug 24, 2017 at 6:45 AM, Christoph Hellwig <hch@xxxxxx> wrote:
> Hi Dan,
>
> I just noticed that we now do a fs_dax_get_by_host in every
> iomap_begin call for DAX.  This function iterates a list,
> does a string compared and igrab.  I really think we need
> to cache this in the superblock (possible even the fs
> superblock) similar to what we do for the block device.

Sure, I'll get that fixed up. I believe I arrived at this scheme as a
side-effect / misunderstanding of this comment:

https://groups.google.com/d/msg/linux.kernel/9ho8SFe6RSw/6zTgNaNTCgAJ



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux