Re: [libvirt] [PATCH v2 4.5/4 variant 1] util: Don't check if entries under /sys/fs/resctrl/info/ are directories

2018-01-29 Thread Martin Kletzander
On Mon, Jan 29, 2018 at 05:54:03PM +0100, Ján Tomko wrote: On Mon, Jan 29, 2018 at 05:45:44PM +0100, Martin Kletzander wrote: We are skipping non-directories under /sys/fs/resctrl/(info/) since those are not interesting for us. However in tests it can sometimes happen that ent->d_type is 0 ins

Re: [libvirt] [PATCH v2 4.5/4 variant 1] util: Don't check if entries under /sys/fs/resctrl/info/ are directories

2018-01-29 Thread Ján Tomko
On Mon, Jan 29, 2018 at 05:45:44PM +0100, Martin Kletzander wrote: We are skipping non-directories under /sys/fs/resctrl/(info/) since those are not interesting for us. However in tests it can sometimes happen that ent->d_type is 0 instead of 4 (DT_DIR) for directories. I've seen it fail on tw

[libvirt] [PATCH v2 4.5/4 variant 1] util: Don't check if entries under /sys/fs/resctrl/info/ are directories

2018-01-29 Thread Martin Kletzander
We are skipping non-directories under /sys/fs/resctrl/(info/) since those are not interesting for us. However in tests it can sometimes happen that ent->d_type is 0 instead of 4 (DT_DIR) for directories. I've seen it fail on two machines. Different machines, different systems, I cannot reproduc