[sheepdog] [PATCH v5 0/5] add support to non-aglined read/write/create

Joseph Glanville joseph at cloudscaling.com
Thu May 23 09:38:57 CEST 2013


One of the drawbacks of dropping O_DIRECT support is that it would be
hard to integrate a Linux libaio native IO engine.

On Wed, May 22, 2013 at 9:54 PM, Liu Yuan <namei.unix at gmail.com> wrote:
> v5:
>  - simply drop O_DIRECT for read/write/create
>
> v4:
>  - do_aligned_write before journaling to avoid double journaling
>
> v3:
>  - only read first and last sector for write
>  - inline flags_direct
>  - use & algo for aligned_sector
>  - remove constraint for sheepfs
>  - refine test
>
> Liu Yuan (5):
>   util: add a helper round_down
>   plain store: add support to non-aglined read/write/create
>   collie: don't round_up vdi size & read/write
>   tests: add a tests/063 to test unaligned read/write/create
>   sheepfs: remove the align constraint
>
>  collie/vdi.c        |   12 +-----------
>  include/util.h      |    3 ++-
>  sheep/journal.c     |    6 +++---
>  sheep/plain_store.c |   29 ++++++++++++++++++++++-------
>  sheepfs/volume.c    |    5 -----
>  tests/062           |   44 ++++++++++++++++++++++++++++++++++++++++++++
>  tests/062.out       |   10 ++++++++++
>  tests/group         |    1 +
>  8 files changed, 83 insertions(+), 27 deletions(-)
>  create mode 100755 tests/062
>  create mode 100644 tests/062.out
>
> --
> 1.7.9.5
>
> --
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog



More information about the sheepdog mailing list