Re: [RFC PATCH 0/2] O_DIRECT locking rework

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

 



> I think the fake placeholder page can be a kernel-wide thing rather than
> per-dio?  That would be most desirable because then we have
> 
> #define PagePlaceHolder(page)	(page == global_placeholder_page)

That would be nice.  The current patch hashes the page pointer with
page_waitqueue(page) to get at the zone's hashed wait queue buckets.  It
would probably want to avoid that hot spot by getting at the buckets by
hashing the mapping and file offset, I guess.

Chris and I have also talked about using tags in the nodes to mark slots
that only lead to place holder leaves instead of actually populating the
leaves with these place holder pages.  We'd avoid having to populate the
tree for larger IOs, and callers wouldn't have to filter out the place
holders from lookups, but the tree nodes would grow for a rare user :/.

- z
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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