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
Merge branch 'master' into user
* hirofumi:
  tux3: Check reserved inum for app specified inum
  tux3: Use current_time() instead of gettime()
OGAWA Hirofumi
tux3: Update libklib/list.h for v4.19
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Refactoring Makefile
Now, to add new file, we have to modify 2 places.

1) OBJS
e.g. OBJS = tux3.o
2) dependency
e.g. tux3: tux3.o $(ALL_LIBS)

This is redundant, and can be eliminated by using functions of make.

New way is,

all-bin += tux3
tux3-objs = tux3.o $(all-static)

with above, add binary target "tux3", and dependency defined by
$(bin)-objs, then object file is automatically added to $(ALL_OBJS)
exclude $(all-static). Makefile script became a bit unreadable though,
the dependency is more readable instead.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update atomic and bitops stuff for v4.19
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/compiler*.h for v4.20
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: Support dicard_new_inode() for v4.19
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
tux3: Add helper to measure elapse time
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/refcount* for v4.19
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update __SPIN_LOCK_UNLOCKED on libklib/lockdebug.h
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: Update libklib/compiler*.h for v5.0
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/compiler* for v4.19
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Fix strict-aliasing in timespec64_to_timespec/timespec_to_timespec64()
In kernel, using -fno-strict-aliasing, but userland is not.

libklib/time32.h:19:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  return *(const struct timespec *)&ts64;
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fix code instead of using -fno-strict-aliasing.

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: Add inode_insert5()
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/ilog2.h for v4.18
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: Update libklib/time* for v4.20
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
Merge branch 'master' into user
* hirofumi:
  tux3: Replace radix-tree with xarray stuff
OGAWA Hirofumi
tux3: Separate bit define stuff to bits.h and bitsperlong.h
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/overflow.h for v4.19
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Add strlcpy()/strscpy/strlcat()
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Fix DECLARE_RWSEM() and DEFINE_MUTEX() in libklib/lockdebug.h
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: Update libklib/blk_types.h for v4.20
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/parser.c and string stuff for v4.20
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: Update libklib/build_bug.h for v5.0
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: Update comment of BUG/WARN() for v4.19
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Fix endian test by "#if defined(__LITTLE_ENDIAN)"
On userspace, the both of __LITTLE_ENDIAN and __BIG_ENDIAN are
defined. We have to use "#if __BYTE_ORDER == __LITTLE_ENDIAN" instead.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update libklib/list.h for v4.20
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
tux3: Update bitops stuff for v4.20
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: Fix fls() for v5.0
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
OGAWA Hirofumi
Merge branch 'master' into user
* hirofumi:
  tux3: Fix race between creating inode and open-by-handle
OGAWA Hirofumi
tux3: Update libklib/libklib.h for v4.19
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>