Package: lizardfs / 3.12.0+dfsg-3

Metadata

Package Version Patches format
lizardfs 3.12.0+dfsg-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
494.patch | (download)

src/master/filesystem.cc | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix for empty cgi "filesystem check info".


655.patch | (download)

src/chunkserver/iostat.h | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 fix ftbfs with glibc-2.28
~~~~
 src/chunkserver/iostat.h:112:26: error: 'makedev' was not declared in this scope
    auto it = stats_.find(makedev(major, minor));
                          ^~~~~~~
~~~~


656.patch | (download)

src/common/slogger.cc | 1 1 + 0 - 0 !
src/master/matoclserv.cc | 1 1 + 0 - 0 !
utils/ping_pong.cc | 1 1 + 0 - 0 !
3 files changed, 3 insertions(+)

 apply fixes for cppcheck errors (fixes #656)

 This commit fixes the following issues found by cppcheck:
  - not closing va_list in slogger.cc
  - using uninitialized gid in matoclserv.cc
  - memory leak in ping_pong.cc


conf add mfshdd comment.patch | (download)

src/data/mfshdd.cfg | 15 11 + 4 - 0 !
1 file changed, 11 insertions(+), 4 deletions(-)

 add useful comment about storage configuration.
 https://github.com/lizardfs/lizardfs/issues/204


conf default ignoregid.patch | (download)

src/data/mfsexports.cfg | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 default to "ignoregid" which is required to make group permissions to work as expected.


debian paths.patch | (download)

CMakeLists.txt | 10 5 + 5 - 0 !
doc/mfsrestoremaster.8.txt | 2 1 + 1 - 0 !
src/data/mfsmount.cfg | 2 1 + 1 - 0 !
src/main/main.cc | 4 2 + 2 - 0 !
src/master/exports.cc | 2 1 + 1 - 0 !
tests/tools/lizardfs.sh | 4 2 + 2 - 0 !
6 files changed, 12 insertions(+), 12 deletions(-)

 debianise paths, consistent with package name.


default nocache.patch | (download)

doc/mfschunkserver.cfg.5.txt | 2 1 + 1 - 0 !
src/chunkserver/hddspacemgr.cc | 4 2 + 2 - 0 !
src/data/mfschunkserver.cfg.in | 4 2 + 2 - 0 !
3 files changed, 5 insertions(+), 5 deletions(-)

 advise os to dismiss cache by default


default sparse.patch | (download)

doc/mfschunkserver.cfg.5.txt | 1 1 + 0 - 0 !
src/chunkserver/hddspacemgr.cc | 4 2 + 2 - 0 !
src/data/mfschunkserver.cfg.in | 2 1 + 1 - 0 !
3 files changed, 4 insertions(+), 3 deletions(-)

 sparse chunk files by default


spdlog.patch | (download)

src/common/slogger.cc | 2 1 + 1 - 0 !
src/common/slogger.h | 3 3 + 0 - 0 !
2 files changed, 4 insertions(+), 1 deletion(-)

 compatibility with spdlog >= 1:1.2.0
~~~~
 /build/lizardfs-3.13.0~rc1+dfsg/src/common/slogger.cc: In function 'bool lzfs::add_log_file(const char*, lzfs::log_level::LogLevel, int, int)':
 /build/lizardfs-3.13.0~rc1+dfsg/src/common/slogger.cc:67:30: error: 'rotating_logger_mt' is not a member of 'spdlog'
    LoggerPtr logger = spdlog::rotating_logger_mt(path, path, max_file_size, max_file_count);
                               ^~~~~~~~~~~~~~~~~~
 /build/lizardfs-3.13.0~rc1+dfsg/src/common/slogger.cc: In function 'bool lzfs::add_log_syslog()':
 /build/lizardfs-3.13.0~rc1+dfsg/src/common/slogger.cc:89:11: error: 'syslog_logger' is not a member of 'spdlog'
    spdlog::syslog_logger("syslog");
            ^~~~~~~~~~~~~
 /build/lizardfs-3.13.0~rc1+dfsg/src/common/slogger.cc:89:11: note: suggested alternative: 'register_logger'
    spdlog::syslog_logger("syslog");
            ^~~~~~~~~~~~~
            register_logger
 /build/lizardfs-3.13.0~rc1+dfsg/src/common/slogger.cc: In function 'bool lzfs::add_log_stderr(lzfs::log_level::LogLevel)':
 /build/lizardfs-3.13.0~rc1+dfsg/src/common/slogger.cc:100:30: error: 'stderr_color_mt' is not a member of 'spdlog'
    LoggerPtr logger = spdlog::stderr_color_mt("stderr");
                               ^~~~~~~~~~~~~~~
~~~~


system gtest.patch | (download)

cmake/Libraries.cmake | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 use system "libgtest-dev" instead of bundled one; prevent on-demand downloading.


system spdlog.patch | (download)

CMakeLists.txt | 1 0 + 1 - 0 !
cmake/Libraries.cmake | 3 3 + 0 - 0 !
2 files changed, 3 insertions(+), 1 deletion(-)

 use system "libspdlog-dev"; prevents build-time download.


tests.patch | (download)

tests/CMakeLists.txt | 2 1 + 1 - 0 !
tests/run-test.sh | 2 1 + 1 - 0 !
tests/setup_machine.sh | 16 9 + 7 - 0 !
tests/tools/config.sh | 2 1 + 1 - 0 !
tests/tools/test_main.sh | 2 1 + 1 - 0 !
tests/tools/valgrind.sh | 2 1 + 1 - 0 !
6 files changed, 14 insertions(+), 12 deletions(-)

 test suite adaptations