From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 14 Feb 2020 19:41:30 +0000 From: "Dr. David Alan Gilbert" Message-ID: <20200214194130.GP3283@work-vm> References: <20200214192705.GE18654@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200214192705.GE18654@redhat.com> Subject: Re: [Virtio-fs] One virtiofs daemon per exported dir requirement List-Id: Development discussions about virtio-fs List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vivek Goyal Cc: virtio-fs-list , Mrunal Patel , Miklos Szeredi * Vivek Goyal (vgoyal@redhat.com) wrote: > Hi, > > Dan Walsh and Mrunal mentioned that one virtiofsd daemon per exported > directory requirement sounds excessive. For container use case, they have > atleast 2-3 more directories they need to export (secrets and /etc/host). And > that means 3-4 virtiofsd running for each kata container. > > One option seems that bind mount all exports in one directory and export > that directory using one virtiofsd. I am aware of atleast one problem > with that configuraiton and that is possibility of inode number collision > if bind mounts are coming from different devices. Not sure how many > applications care though. Sergio is looking into solving this issue. It > might take a while though. I thought the bind mount setup was the normal setup seen under both Kata and k8s? Dave > Any other thoughts? > > Thanks > Vivek -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK