Re: [PATCH 21/41] CacheFiles: Permit the page lock state to be monitored [ver #48]

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

 



On Saturday 04 April 2009 02:56:24 David Howells wrote:
> Add a function to install a monitor on the page lock waitqueue for a particular
> page, thus allowing the page being unlocked to be detected.
> 
> This is used by CacheFiles to detect read completion on a page in the backing
> filesystem so that it can then copy the data to the waiting netfs page.

This is the only thing I'm still worried about in core code. The extra
page flag (which is probably unusable for any other fs, due to its
semantics) is an issue, but Andrew seemed like he was willing to spend
*2* page flags on this, so I'm sure he's happy with 1.

But this I still don't like.

I didn't get any reply when asking about the asynchronous nature of
this. It certainly adds huge complexity to the code, at points which
can tend to be quite synchronous anyway.

I would really like to know exactly why it *has* to be asynchronous,
and see what the diff looks like between a simple synchronous design
and what you have here.
--
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