[Pvfs2-developers] extra trove error messages
Sam Lang
slang at mcs.anl.gov
Wed May 24 15:15:29 EDT 2006
On May 24, 2006, at 1:46 PM, Sam Lang wrote:
>
> Hi Phil,
>
> I think that's from the crdirent, which does a keyval_read to
> verify that the directory doesn't exist, and only creates it if
> ENOENT is returned. At the level of keyval_read_op_svc, its
> impossible to know that though. I guess I can just remove the
> error reporting call, although it would be nice to have it there
> for cases where we actually want to read an entry we expect to be
> there and print an error if we don't find one (corrupted db).
>
Actually I take that back. The only place in the keyval.c code we
print an error is in read_list. So it probably isn't a problem there
since read_list is only used by get_eattr. So the keyval_read_op_svc
only prints a warning if DBPF_KEYVAL_DEBUG is enabled.
It looks like the error you're seeing might be in dspace_getattr,
which gets called from lookup and prelude. If we do a lookup to
verify that a file doesn't exist before creating it , I could imagine
seeing that. In any case the problem is the same as before. I could
print a warning if debugging is enabled.
Alternatively, I could create a trove flag (TROVE_NOENT_NON_FATAL)
for those operations where we actually want to return ENOENT as a non-
fatal response.
-sam
> -sam
>
>
> On May 24, 2006, at 10:44 AM, Phil Carns wrote:
>
>> If I start a pvfs2-server in the foreground (with the -d option),
>> I see quite a few of these messages on the console when accessing
>> the file system, even with just an ls:
>>
>> pvfs2-trove-dbpf: DB->get: DB_NOTFOUND: No matching key/data pair
>> found
>>
>> I assume this isn't really an error; trove was probably just asked
>> to look up something that was expected to not exist. Should this
>> message be quieted?
>>
>> -Phil
>> _______________________________________________
>> Pvfs2-developers mailing list
>> Pvfs2-developers at beowulf-underground.org
>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>>
>
> _______________________________________________
> Pvfs2-developers mailing list
> Pvfs2-developers at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>
More information about the Pvfs2-developers
mailing list