tech-kern archive

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

Re: Add operation vcache_rekey



On 26 Jun 2014, at 05:33, David Holland <dholland-tech%netbsd.org@localhost> 
wrote:

> On Wed, Jun 25, 2014 at 09:46:16AM +0000, Taylor R Campbell wrote:
>> Also, I wonder whether any file systems will ever change the length of
>> the key for a vnode.  Probably not.
> 
> As I recall from when I was looking at this a couple weeks ago (feels
> like a minor eternity ago, but it can't be much longer than that)
> ... yes, they might.
> 
> Please add the length in the appropriate places.

My proposal HAS old and new key length.

> also, as far as the const it seems like if replacing one key with
> another requires unconsting something isn't right. The cache should
> only be reading the key, and supplying a new one doesn't change that...

How could we ATOMICALLY change a key when it is read-only aka. const?

--
J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig 
(Germany)



Home | Main Index | Thread Index | Old Index