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: Fix new warning by gcc-7.x in devel/shard.c
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: Update slab api for v4.17
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Add libklib/overflow.h for v4.18
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: Add .ubsan.supp to suppress the false positive warning of UBSAN
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Add inode_insert5()
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: 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 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: Update atomic stuff for v4.18
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: Update libklib/ilog2.h for v4.18
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/libklib.h for v4.17
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: Support timespec64 timestamp
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/compiler* for v4.17
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
Merge branch 'master' into user
* hirofumi:
  tux3: Check reserved inum for app specified inum
  tux3: Use current_time() instead of gettime()
OGAWA Hirofumi
tux3: Consolidate some buffer_writeback.c functions with kernel
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>
OGAWA Hirofumi
tux3: make libklib/list.h easier to use as standalone
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: Use sys/mount.h instead of linux/fs.h
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update container_of_safe() for v4.18
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: 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: Suppress -Wformat-truncation warnings
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: 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
Merge branch 'master' into user
* hirofumi:
  tux3: kzalloc() -> kcalloc()
  tux3: Support timespec64 timestamp
OGAWA Hirofumi
Merge branch 'master' into user
* hirofumi:
  tux3: Use new I_DIRTY_INODE macro
  tux3: convert ->page_mkwrite() result to vm_fault_t
  tux3: Use __set_page_dirty() instead of copy of it
  tux3: to prepare xarray, convert radix-tree api usage
  tux3: Use new wb_cookie parameter to save irq flags
  tux3: Use d_instantiate_new() to do it safely
OGAWA Hirofumi
tux3: Fix include order of tux3user.h
libklib/libklib.h defines "inline" etc., and it has to include before
any "inline" user.

So modify the order of include files.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Add cpu_to_le32_array/le32_to_cpu_array api for v4.17
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Check reserved inum for app specified inum
tux3_iget() now checks whether reserved inum or not. And no check
version is now __tux3_iget().

This will mitigate the disaster by corrupted fs.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Add I_DIRTY_INODE macro for v4.17
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: Add unit tests for bdict_fixed and bsearch
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update atomic_t stuff for v4.17
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Introduce d_instantiate_new() api for v4.17
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>