[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] tools/xenstore: Do not abort xenstore-ls if a node disappears while iterating
On Mon, Mar 04, 2019 at 04:59:42PM +0000, David Woodhouse wrote: > On Mon, 2019-03-04 at 15:46 +0000, Wei Liu wrote: [...] > > Also you mentioned "a node disappears", I thought that was the case you > > cared about, hence my suggestion. > > That's my primary use case, yes. Obviously we should make it do the > right thing in the general case while we're thinking about it. I'm > inclined to go with Juergen's suggestion of ignoring ENOENT and EACCES > (or should that have been EPERM?), yet still aborting for everything > else. > I can't seem to find EACCESS in xenstored code, but I do find EPERM. Adding EPERM would be fine by me. Wei. > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |