[sheepdog] [PATCH v2 0/4] add support for object cache test

Liu Yuan namei.unix at gmail.com
Wed Aug 14 16:44:47 CEST 2013


On Wed, Aug 14, 2013 at 10:33 PM, MORITA Kazutaka <morita.kazutaka at gmail.com
> wrote:

> At Wed, 14 Aug 2013 17:12:22 +0800,
> Liu Yuan wrote:
> >
> > On Tue, Aug 13, 2013 at 01:37:36PM +0900, MORITA Kazutaka wrote:
> > > From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
> > >
> > > v2:
> > >  - rebased onto the devel branch
> > >  - added necessary flush after _vdi_write()
> > >  - call _filter_qemu_io() in _qemu_io()
> > >
> > > This series enables us to test object cache by running the following
> > > commands.
> > >
> > >  # SHEEP_EXTRA_OPTIONS="-w size=100" ./check
> > >  # SHEEP_EXTRA_OPTIONS="-w size=100" ./check -writethrough
> > >  # SHEEP_EXTRA_OPTIONS="-w size=100" ./check -direct
> > >
> > > Note that writeback is default.
> > >
> > > Currently, some tests cannot be passed when object cache is enabled,
> > > and I'm still not sure whether it is a false alarm or not.  I'd
> > > appreciate if someone would give a try and udpates testcases or add
> > > "_requirement no_writeback" if the test is not suitable for object
> > > cache).
> >
> > I tried this patch set and alsmot are false alarm to me.
>
> The following test makes sheep dump a core file, and at least it isn't
> a false alarm, I think.
>
>   # SHEEP_EXTRA_OPTIONS="-w size=100" ./tests/functional/check 42
>

Aug 14 22:42:10  ERROR [main] atomic_create_and_write(585) failed to write
/tmp/sheepdog/042/2/epoch/00000002, No space left on device
Aug 14 22:42:10  EMERG [main] sd_leave_handler(924) PANIC: cannot log
current epoch 2
Aug 14 22:42:10  EMERG [main] crash_handler(250) sheep exits unexpectedly
(Aborted).
Aug 14 22:42:10  EMERG [main] sd_backtrace(843) sheep.c:252: crash_handler
Aug 14 22:42:10  EMERG [main] sd_backtrace(857)
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcaf) [0x7f4632754caf]
Aug 14 22:42:10  EMERG [main] sd_backtrace(857)
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x34) [0x7f4631a9b424]
Aug 14 22:42:10  EMERG [main] sd_backtrace(857)
/lib/x86_64-linux-gnu/libc.so.6(abort+0x17a) [0x7f4631a9eb8a]
Aug 14 22:42:10  EMERG [main] sd_backtrace(843) group.c:924:
sd_leave_handler
Aug 14 22:42:10  EMERG [main] sd_backtrace(843) local.c:449:
local_process_event
Aug 14 22:42:10  EMERG [main] sd_backtrace(843) local.c:490: local_handler
Aug 14 22:42:10  EMERG [main] sd_backtrace(843) event.c:203: do_event_loop
Aug 14 22:42:10  EMERG [main] sd_backtrace(843) sheep.c:858: main

It seems that it is not related to object cache

Thanks
Yuan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20130814/bcc62ae7/attachment-0004.html>


More information about the sheepdog mailing list