Re: [PATCH 6/6] chunkd: fix PUT/GET for more than 2GB values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/11/2010 07:25 AM, Akinobu Mita wrote:
- Define _FILE_OFFSET_BITS

- Use uint64_t to hold object length and buffer length

- Don't pass too much buffer to writev. writev returns -1 if the sum of
   the iov_len values overflows an ssize_t value

Signed-off-by: Akinobu Mita<akinobu.mita@xxxxxxxxx>
---
  server/be-fs.c  |    1 +
  server/chunkd.h |    6 +++---
  server/object.c |    2 +-
  server/server.c |    9 ++++++++-
  4 files changed, 13 insertions(+), 5 deletions(-)

applied


--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Fedora Clound]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux