Re: [PATCH 07/13] RFC: pnfs: full mount/umount infrastructure

Christoph Hellwig
2010-09-13T14:44:47Z

On Mon, Sep 13, 2010 at 01:06:53PM +0200, Boaz Harrosh wrote:
> Me two BTW.
> I will later need a per super-block resources, mainly slabs and work_q.

Slab caches are always globals, as should workqueues be. With Tejun's
recent work most work queues should go away completely.

> I think we should just pass nfss to the LD and let it take care of accessing
> nfss->nfs_client for the device cache. (It is done so later in the tree, right?)

You can add this later once a laypout driver actually needing it is
introduced.