Ticket #102 (accepted bug)
readdirplus() returns error on single attr failure
| Reported by: | carns | Owned by: | carns |
|---|---|---|---|
| Priority: | minor | Component: | SYSINT |
| Version: | HEAD | Keywords: | readdirplus pvfs2-ls |
| Cc: |
Description
readdirplus() returns an error code array that is supposed to be able to indicate failure in retrieving specific attributes while still successfully returning the rest of the results. This doesn't seem to work though; the entire readdirplus() call returns an error instead.
This causes pvfs2-ls to be unable to list the contents of a directory if any one of the entries references a failed server.
The use case for this is that if a server fails it might be helpful to be able to do a recursive pvfs2-ls -lR to see what files and directories are affected. Right now pvfs2-ls just exits with an error as soon as it hits anything bad.
![(please configure the [header_logo] section in trac.ini)](/projects/pvfs/chrome/common/trac_banner.png)