[Pvfs2-developers] Re: msgpair error
Murali Vilayannur
vilayann at mcs.anl.gov
Thu Jun 15 17:48:44 EDT 2006
We are, but the BDB error codes are used in the ->err() function provided
by db..We should be returning dbpf_db_error_to_trove_error(ret) though...
> aren't we supposed to be converting the BDB error codes to our own
> somewhere?
>
> >>> Why does ->err not print anything?
> >>>
> >>> goto return_error;
> >>> }
> >>
> >> More info: ret is always -30989 = 0xffff86f3. The ->err function
> >> ends up writing on fd 2, which like 0 and 1 points to /dev/null
> >> in pvfs2-server. Maybe want to wire this up to fd 3, the log file,
> >> or better yet call into gossip_err like everything else. We must
> >> be using the default db4 ->err method here.
> >>
> >
> > 30989 is berkeley db's NOTFOUND error IIRC. I agree that we should set
> > the db errfile to point to the server log's fd. Right now its set to
> > stderr in dbpf_db_open, which is fd 2 as you point out. What is fd 3?
Perhaps the log file is fd 3?
> >
> > I'm still puzzling over this error. I haven't changed any of this code
> > recently so its a bit confusing to me why it would start failing. Did
> > you do a migrate from an old storage format by chance? I'll keep looking.
> >
> > Also, the dbpf_open_cache_get/put stuff at the top of getattr_op_svc can
> > be removed. We don't use the open cache in the dspace code anymore.
Arent we getting the bstream size from the open cache fd?
Thanks,
Murali
> > Not sure why the error block was empty though, it would be nice if -Wall
> > would warn about that.
> >
> > -sam
> >
> >> -- Pete
> >> _______________________________________________
> >> 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
> >
> _______________________________________________
> 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