You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently we do an additional rados stat operation before we read the mail object from rados (rbox-mail.cpp, rbox_mail_get_stream()). We do this to determine the size of the ostream( buffer ). This may be unnecessary.
The text was updated successfully, but these errors were encountered:
jrse
changed the title
read mail
read mail unnecessary stat?
Sep 16, 2017
jrse
changed the title
read mail unnecessary stat?
read mail, unnecessary stat?
Sep 16, 2017
it is not necessary to do a additional stat to determine the object
size, it is sufficient to read the object with max int size from rados.
- changed interface method read_mail
- replaced bufferlist.copy with memcpy.
- removed memset call for read_buffer.
- changed librmb_unit test to eval read_mail.
currently we do an additional rados stat operation before we read the mail object from rados (rbox-mail.cpp, rbox_mail_get_stream()). We do this to determine the size of the ostream( buffer ). This may be unnecessary.
The text was updated successfully, but these errors were encountered: