Re: [libvirt] [PATCHv3 13/19] storage: use cache to walk backing chain

2012-10-18 Thread Laine Stump
On 10/17/2012 06:30 PM, Eric Blake wrote: > We used to walk the backing file chain at least twice per disk, > once to set up cgroup device whitelisting, and once to set up > security labeling. Rather than walk the chain every iteration, > which possibly includes calls to fork() in order to open ro

[libvirt] [PATCHv3 13/19] storage: use cache to walk backing chain

2012-10-17 Thread Eric Blake
We used to walk the backing file chain at least twice per disk, once to set up cgroup device whitelisting, and once to set up security labeling. Rather than walk the chain every iteration, which possibly includes calls to fork() in order to open root-squashed NFS files, we can exploit the cache of