tech-kern archive

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

Re: Reclaiming vnodes

On Mon, Aug 17, 2009 at 02:18:45PM +0200, Adam Hamsik wrote:
>>> I have added new kernel thread called vreclaim which takes
>>> care about vnode reclaiming.
>> Why?
> To simplify locking in filesystems e.g. in zfs gentnewvnode is
> called with mutex foo held which is later acquired by zfs_reclaim
> which is called by VOP_RECLAIM.

Fix zfs instead? [1/2 :-) ]

Reclaiming/recycling vnodes is complicated (and tricky) enough without
making it asynchronous; I'm not at all sure this is a good idea in the
long run.

David A. Holland

Home | Main Index | Thread Index | Old Index