[Sheepdog] [PATCH 0/2] return error when read/write cannot process full length data

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Fri Nov 18 11:43:35 CET 2011


This patchset fixes a fatal bug and do some cleanups.

Although this limits the vdi attribute size to 64 KB, I think it is
not a problem for most users.  Let me know if there are any problems.

Thanks,

Kazutaka

MORITA Kazutaka (2):
  reduce the maximum size of vdi attributes from 4 MB to 64 KB
  sheep: return error when read/write cannot process full-length data

 collie/vdi.c             |   47 +++++++++++++++++++--------------------------
 include/sheepdog_proto.h |    9 +++----
 sheep/sdnet.c            |   10 ++++----
 sheep/sheep_priv.h       |    1 -
 sheep/simple_store.c     |   17 +++------------
 sheep/store.c            |   37 ++++++++++-------------------------
 sheep/vdi.c              |   44 +++++++++++++++++++++++-------------------
 7 files changed, 68 insertions(+), 97 deletions(-)

-- 
1.7.2.5




More information about the sheepdog mailing list