Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Console View

Legend:   Passed Failed Warnings Failed Again Running Exception Offline No data

OGAWA Hirofumi
tux3: Add filter option to test/*
To make debug easier, add common options (-x and -i) to test/*.

-x <pattern> - exclude to run test matched to <pattern>
-i <pattern> - include to run test matched to <pattern>

Example usage:

    $ ./balloc -x '*' -i 'test08*'
    [balloc:test08] time  0.000063 secs
    [balloc:test08] OK

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update comment of libklib/log2.h for v4.15
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Add helper from linux/stddef.h to libklib/libklib.h for v4.16
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/compiler* for v4.15
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/find_bit family for v4.16
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
user-ubsan-suppress
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update ->i_version usage to new API for v4.16
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/math64 for v4.15
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Fix duplicated test result if output is not tty
If output is not tty, stdout is buffered more than line. So duplicated
result lines will be produced by fork().

This fixes by fflush() before fork().

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Consolidate some buffer_writeback.c functions with kernel
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Rename MS_* to SB_*
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
Merge branch 'master' into user
* hirofumi:
  tux3: Refactoring btree cursor access, and cleanup
  tux3: Use bdict_fixed to implement bnode
  tux3: Add fixed size dictionary operations, and binary search
OGAWA Hirofumi
tux3: Update mutex_is_locked() for v4.16
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
Merge branch 'master' into user
* hirofumi:
  tux3: Use current_time() instead of gettime()
OGAWA Hirofumi
tux3: Add hardened usercopy API of kmem_cache for v4.16
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/byteorder.h for v4.15
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/compiler* for v4.16
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update comment of libklib/refcount.h for v4.16
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/{atomic-long.h,atomic.h,barrier.h} for v4.15
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Clean UBSAN warnings for libklib/
The left shift of signed type in libklib/bitops/fls.h.

fls.h:31:5: runtime error: left shift of 666894336 by 2 places cannot be represented in type 'int'

And another one to suppress the following UBSAN warning,

be_byteshift.h:14:14: runtime error: left shift of 195 by 24 places cannot be represented in type 'int'

cast to (u32).

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update slab_flags_t for v4.15
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/bitops.h for v4.15
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/time* to support timespec64 for v4.15
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Build fixes for bnode refactoring
Now bnode internal is abstracted, so is not accessed directly. Convert
to new usage.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: remember_dleaf() hack of tests/filemap
tests/filemap wants to skip I/O while testing. And to skip
vol_early_io(), set sb->last_dleaf = NULL, but this was not enough if
dleaf was split.

Instead, for now, add disable_vol_early_io to skip, and move access of
sb->ioinfo from vol_early_io() caller to after disable_vol_early_io
check.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Fix tests/btree.c to support more than 0xffff keys
Current unit tests for btree is using u16 as key field in leaf format
(uleaf). So if used bigger btree and blocksize, easily overflow u16.

To fix it, this extends u16 to u32.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Fix new warning by gcc-7.x in devel/shard.c
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Add helper to measure elapse time
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Disable diagnostic color of gcc ASAN/UBSAN if under emacs
ASAN/UBSAN uses color escape sequence if output is tty (in contrast,
gcc checks tty and TERM!=dumb).

If under emacs compile buffer, terminal escape sequence doesn't work
as color. So disable color if under TERM=dumb.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Support/Use current_time() instead of gettime()
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Add #define SMALL_PAGE_SIZE_DEBUG for small size page (debugging)
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
Merge branch 'master' into user
* hirofumi:
  tux3: Set sb->ioinfo when exiting backend
OGAWA Hirofumi
tux3: Add unit tests for bdict_fixed and bsearch
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Fix order of objects and libraries when linking
Current order when linking is, we are using

$(LDFLAGS) objects tux3libs

(LDFLAGS is including external libraries) this is wrong order,
especially when using "--as-needed" flag.

To fix, this introduces $(LIBS) variable, and separate libs from
LDFLAGS,

$(LDFLAGS) objects tux3libs $(LIBS)

With this change, we can properly resolve undefined symbols of
objects by $(LIBS).

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/{bug.h,build_but.h} for v4.16
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update I_DIRTY_* for v4.16
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Use sys/mount.h instead of linux/fs.h
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/blk_types.h for v4.16
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Add microbench of btree to test new bnode format
To test btree related performance, this adds microbench for btree.

FIXME: This adds to btree with "if (1) return;".  Later, if we
introduce more benchmarks, we may need common infrastructure for
microbench. However, just hack for now.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Add make option for gcc sanitizers (ASAN, UBSAN)
This adds support of ASAN (-fsanitize=address -fsanitize=leak), and
UBSAN (-fsanitize=undefined).

Usage is,

$ make ASAN=1
$ make ASAN=1 tests
or
$ make UBSAN=1
$ make UBSAN=1 tests

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>