Project

General

Profile

Actions

Feature #286

closed

librados: set read chunk size

Added by Sage Weil almost 14 years ago. Updated over 12 years ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Category:
librados
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Make a max read size, such that if you do read(len=0) it will read the object in chunks.

g_conf.objecter_read_chunk_bytes or something.

One question is whether a read(len=something bigger than max) will still do a large read.


Related issues 1 (1 open0 closed)

Precedes RADOS - Cleanup #311: osd: remove read(len=0) full object behaviorNew07/26/2010

Actions
Actions #1

Updated by Sage Weil over 13 years ago

  • Target version set to v0.22
Actions #2

Updated by Sage Weil over 13 years ago

  • Estimated time set to 4:00 h
Actions #3

Updated by Greg Farnum over 13 years ago

  • Assignee set to Greg Farnum

Will definitely need to limit how much can be read at once so that malicious clients can't kill the server, but that'll need to be server-side anyway.

Actions #4

Updated by Greg Farnum over 13 years ago

  • Subject changed from objecter: set read chunk size to librados: set read chunk size
  • Category set to librados

All right, client-side this is just going to be implemented in librados rather than the Objecter. It doesn't properly belong in Objecter and introducing it there would cause all sorts of problems since its functions are expected to be atomic.

Actions #5

Updated by Greg Farnum over 13 years ago

  • Priority changed from Normal to Low
Actions #6

Updated by Sage Weil over 13 years ago

  • Target version changed from v0.22 to v0.23
Actions #7

Updated by Sage Weil over 13 years ago

  • Assignee deleted (Greg Farnum)
Actions #8

Updated by Sage Weil over 13 years ago

  • Target version deleted (v0.23)
Actions #9

Updated by Sage Weil over 13 years ago

  • Estimated time changed from 4:00 h to 2:00 h
  • Source set to 2
Actions #10

Updated by Sage Weil over 12 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF