2037 Commits

Author SHA1 Message Date
Andrew A. Vasilyev
aad79a6c5a 3.13.0-alt1
- Import from upstream 3.13.0-rc1
2019-05-20 14:45:12 +03:00
Andrew A. Vasilyev
4103bec7cf 3.13.0-alt1
- Import from upstream 3.13.0-rc1
2019-05-17 14:32:35 +03:00
Andrew A. Vasilyev
69efcc81ef 3.13.0-rc1 import 2019-05-17 14:09:34 +03:00
Andrew A. Vasilyev
58d8f81a65 External download workaround 2019-05-17 13:38:25 +03:00
Andrew A. Vasilyev
b3413feddb External download workaround 2019-05-17 13:30:49 +03:00
Andrew A. Vasilyev
2f7cee5bcf ALT SYSV init scripts 2019-05-17 13:28:56 +03:00
Andrew A. Vasilyev
fdaab18af7 3.12.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2019-05-16 19:29:20 +03:00
Patryk
32e8d297f6 mount: Added support for mounting with mount instead of using mfsmount directly
This commit adds support for new mount scheme that is compliant with
other, non-LizardFS mounts. Instead of specifying master hostname, port
and subfolder in mount options, it is now possible to specify them as
mount user would probably expect, that is e.g.: `mfsmount
lizardfs-master:9421:/ /mnt/lizardf` instead of `mfsmount -o
mfssubfolder=/ -o mfsmaster=lizardfs-master -o mfsport=9421
/mnt/lizardfs`. New mount scheme applies both to /etc/fstab and CLI. Old
scheme is still supported for backward compability.

Fixes #822

Change-Id: Icb7bd6455e6c98493418bfd02602cea2dcc5f6ce
2019-04-29 15:58:29 +02:00
Patryk
5adf40470f mount, doc: Added -o nonempty option for FUSE3
FUSE3 removed `-o nonempty` mount option, mounting over non-empty
directories is always allowed in FUSE3. This behaviour is undesirable in
lizardfs-client3 because running `mount -a` for shares mounted with
mfsmount3 resulted in multiple mounts of the same share. This commit
fixes this issue.

Fixes #807

Change-Id: I16888169857cf20302dcad4828c5ef83f808eb67
2019-04-19 15:23:14 +02:00
Patryk
aeda70c397 mount, doc: Added -o nostdmountoptions option
mount, doc: This commit introduces mfsmount -o nostdmountoptions that is
equivalent of the --nostdopts but unlike --nostdopts it can be used in
/etc/fstab as a mount option.

Fixes #802

Change-Id: I3316b129dd9296583e9cb66ac0dedcd640ba82e5
2019-04-17 14:57:58 +02:00
Patryk
3aaf36e2fa utils: Made LizardFS' Wireshark plugin work again
This commit introduces changes in LizardFS Wireshark plugin to make it
work with new versions of the Wireshark. Besides minor code changes and
compilation script changes, README was updated and Python script that
generates the plugin was fixed to be compliant with PEP8 style guide for
Python code.

Change-Id: I4e159d39384b4cabbcd7ed52409836479d432e53
2019-04-01 11:26:02 +02:00
Patryk
e40554f425 utils: Made LizardFS' Wireshark plugin work again
This commit introduces changes in LizardFS Wireshark plugin to make it
work with new versions of the Wireshark. Besides minor code changes and
compilation script changes, README was updated and Python script that
generates the plugin was fixed to be compliant with PEP8 style guide for
Python code.

Change-Id: I4e159d39384b4cabbcd7ed52409836479d432e53
2019-04-01 11:23:48 +02:00
Patryk
89a2c9ce5c Made LizardFS' Wireshark plugin work again
This commit introduces changes in LizardFS Wireshark plugin to make it
work with new versions of the Wireshark. Besides minor code changes and
compilation script changes, README was updated and Python script that generates
the plugin was fixed to be compliant with PEP8 style guide for Python
code.

Change-Id: I4e159d39384b4cabbcd7ed52409836479d432e53
2019-04-01 10:18:11 +02:00
Patryk
9cc1513b1f build: Add missing libfsallizardfs.so to lizardfs-nfs-ganesha .deb package
This commit adds missing libfsallizardfs.so to lizardfs-nfs-ganesha .deb
package (there was misplaced lizardfs-nfs-ganesha.install file).

Fixes #678 #778

Change-Id: I2285047b35469023026cff0247d68c6348064d56
2019-03-14 11:37:59 +01:00
Patryk Bęza
7d50ee701d build: Fix compilation warn regarding implicit declaration of makedev function
Change-Id: I39fb469dfeac7d6f0be46f18e82bca51c9876d8a
2019-03-14 11:37:42 +01:00
Adam Ochmanski
08d01594b1 Updated UPGRADE file
This commit provides update for UPGRADE file

Change-Id: Icef882332e30664e1b62c628178914ba72d652cf
2019-03-14 11:37:23 +01:00
Patryk
60b93937a7 build: Fix for incorrectly built lizardfs-uraft .deb package
Added missing lizardfs-ha-master.service to lizardfs-uraft .deb package.

Fixes #719

Change-Id: I1f2c987ccc93b15eef41407530120c842d1f7db9
2019-03-11 12:07:41 +01:00
Patryk
5d20c95179 build: Added missing header
This commit fixes Debian bug report #916194. After glibc upgrade there
was a problem with missing makedev() definition which used to be defined
in <sys/types.h> (now moved to <sys/sysmacros.h>).

Fixes #655

Change-Id: Iaeed656a839d2051ae09eee8e0fb2abd234831b5
2019-03-08 13:53:51 +01:00
Hazeman
a00615107d Release version 3.13.0-rc1
Change-Id: I729888e0a0a778a9b74070e033fb9009efcd512d
2018-06-28 13:11:11 +02:00
Hazeman
93dccd1f70 cmake: Disable polonaise build
This commit disables compilation of polonaise.

Change-Id: I80df99bc3838c114a77b9e624cec231000c72738
2018-06-28 10:57:41 +02:00
Piotr Sarna
383ca240a7 common, mount: Add NFS4 acls generated from mode
This commit makes NFS4 ACL handler generate an entry from POSIX mode
if access control lists are not present in a file.
Thanks to this change, using nfs4_setfacl tool to append ACL entries
will work correctly.

This commit comes with a test that checks whether nfs4_setacl
and nfs4_getacl work fine.

Fixes #644

Change-Id: I8dbaeceb76d770744e9cd5b316604009e58f83af
2018-06-26 16:59:13 +02:00
Hazeman
0583b90eeb mount, libclient: Add function to apply mask to acl
This commit adds function to libclient that applies masks
to acl.

Change-Id: Iabb017116e0cca7f9400d9d0607eb330cea38643
2018-06-26 12:24:38 +02:00
Hazeman
61c9823df0 nfs-ganesha: Replace file info cache with C implementation
This commit replaces C++ implementation of file info cache with
the code written in C.

Change-Id: I7a8fcf4e90766eff370e77fd3d4823b96061caa5
2018-06-26 12:24:33 +02:00
Piotr Sarna
50785fa8f9 uraft: Expand documentation
This commit adds more documentation entries to lizardfs-uraft.

Change-Id: I8a0a028b264298fe6047b3f73aeaaebb22ce97d9
2018-06-22 16:39:28 +02:00
Piotr Sarna
5049aa7037 uraft: Add packaging to uraft
This commit adds a lizardfs-uraft package to packaging systems
for both debian and rpm.

Change-Id: I84d76261254b52f912b195132d6f4a9c95d41baf
2018-06-21 14:34:49 +02:00
Piotr Sarna
356c06c58b uraft: Implement lizardfs-uraft-helper
This commit adds the implementation of lizardfs-uraft-helper,
used for providing LizardFS back-end to uraft.

Change-Id: I57e940d10dd8fa1991aa66187d67686e488d91da
2018-06-21 14:34:44 +02:00
Hazeman
462350980e uraft: Add uraft
This commit adds uraft implementation.

Change-Id: If766e654301dc52b7bdc22cdcfd1771e3b0c2b1c
2018-06-21 14:34:25 +02:00
Hazeman
96c2d9f64b tests: Add ec2 conversion test
This commit adds test for validating
name conversion to ec2 format.

Change-Id: Ie61609c56f023b98d1f37b9570c736d0ca6f5311
2018-06-20 14:57:08 +02:00
Hazeman
12a8e3b648 chunkserver: Fix conversion to ec2 name format
This commit fixes bug in conversion to ec2 format.

Change-Id: I11b44e0200fe94d06175c7d2847152a939dde249
2018-06-20 14:57:03 +02:00
Erik Lindahl
a20d2c2856 mount: Add cache layer for secondary groups
This commit adds a cache layer for extracting secondary groups
from FUSE, which can be an expensive operation, especially when
dealing with lots of small files.

Closes #660

Change-Id: Id463305e77da12070d46f5d3c7819d2a077bdd66
2018-06-19 14:13:20 +02:00
Hazeman
2d7828619a common: Add reed-solomon matrix test
This commit adds read solomon unit test for matrix invertibility.

Change-Id: Ic3a2521bc60be65dcc85cee222c7a9e84dc6217f
2018-06-19 10:38:46 +02:00
Hazeman
e76c38623c chunkserver: Convert old EC chunks to new format
This commit converts old EC chunks to new format. The procedure is following

1. For data parts chunk name is converted so that _ec_ is replaced to _ec2_.
2. Parity parts for slice type with parity count < 5 are converted
   the same way as data parts.
3. Parity parts for slice type with parity count >= 5 are removed and must
   be later regenerated by master server.

Change-Id: I5b1e65ee3b034eacd08154cfac28355073fee85a
2018-06-18 12:19:42 +02:00
Hazeman
a3361dcf8b tests: Fix timeouts
This commit fixes timeouts in following tests:
  * test_mapall
  * test_cs_failure_during_xor_write
  * test_simultaneous_write_read

Change-Id: I994beeb37c316cc181c58b7bda201340832a9b1f
2018-06-18 11:56:03 +02:00
Hazeman
97b7a6fc99 tests: Add test for simultaneous write and read
This commit adds test that writes to file
and at the same time tries to read it.

Change-Id: I7790752b0d7fc02659b37980b59890c1b83b7ade
2018-06-14 12:11:53 +02:00
Hazeman
50394e4d2d mount: Turn off readahead cache by default
This commit turns off readahead cache by default.

Change-Id: I844169517c2a84fa58058605d8ba05912fb886dc
2018-06-14 12:10:23 +02:00
Hazeman
7085958ee6 mount, fuse: Add mfsmount3
This commit adds mfsmount3 executable linked to FUSE3 library.

Change-Id: I327e8afbf1370c4f53c09b7538e5cc35558cac5b
2018-06-13 16:07:26 +02:00
Hazeman
4af83dbb53 mount: Migrate to fuse3
This commit migrates lizardfs to fuse3.

Change-Id: I693405713049fabdcfac8167eb43a13d539700ed
2018-06-12 14:04:24 +02:00
Hazeman
96fee8023c tests: Fix problems in tests
This commit fixes issues in following tests
  * test_backwards_changelog_compatibility - race condition
  * test_legacy_old_lizardfs_upgrade - compact_vector with new compilers
  * ShortSystemTests.test_shadow_reject - issue with nc behaviour

Change-Id: If6a47e781a3370532d12bead11ae820832f0be23
2018-06-12 13:45:41 +02:00
Hazeman
722153f13e tests: Fix timeout in test_pread_eio_in_chunkserver_all_disks
This commit fixes timeout in test test_pread_eio_in_chunkserver_all_disks.

Change-Id: I6a813de902974e2f191167ffdb8a788fd133b686
2018-06-11 11:50:05 +02:00
Hazeman
4cd375043d tests: Fix timeouts
This commit fixes timeouts in tests test_multiple_truncates
and test_pread_eio_in_chunkserver_all_disks.

Change-Id: I580ab98f3193b8a35993397cf1fa498a6ea70127
2018-06-08 13:21:24 +02:00
Hazeman
3cd2ed9ce3 test: Fix timeouts and xor|ec_goal_with_labels
This commit changes timeouts in few tests so
they can work with vagrant. Also there are fixes
in tests xor|ec_goal_with_labels to take into account
changes made in commit 3174.

Change-Id: I798d994fdd75e558b1d0d5cfea1ea4a75e6b8101
2018-06-01 14:14:15 +02:00
Staho
ff525bd49a tools: Change of help message in set_trashtime.cc
This commit chages message in set_trashtime.cc
to one that describes precisesly options + and -.

Change-Id: If2bd644031df3786c531493255ee5f81f8ebd9d9
2018-05-23 12:56:54 +02:00
Matthias Van Woensel
84211cfb95 doc: Fix a typo
This commit fixes a typo in mfsmount man page.

Closes #637

Change-Id: If65b2890260ba7b96464bddb55d59a29022f2ab5
2018-05-23 11:59:34 +02:00
Hazeman
dee80645ca tests: Add valgrind suppress entry
This commit adds entry to valgrind supress list.
In mount valgrind reports leak of stacks allocated for working threads.

Change-Id: I4bd3aed18c8586b955586dc7a2f05a023b6a5938
2018-05-23 11:31:03 +02:00
Hazeman
2dc77f8efd tests: Increase CPU limit for chunk loop
This commit increases CPU limit for chunk loop processing.
Also timeouts in test chunk_type_conversion are increased.

Change-Id: If5308203619d7527cb06faa29fb02cf248fc6daf
2018-05-22 14:43:23 +02:00
Stach Kazmierowski
3bde7fe2fd main: Add printing errors on no metadata
This commit adds printing errors when there is no metadata.mfs file
in data directory.

Change-Id: Ib11bf95bf2504768fe1fd1776e8f8512f78c2016
2018-02-27 16:55:48 +01:00
Fretek
ca00f7a374 common: Fix ChunkTypeWithAddress comparison
This commit fixes ChunkTypeWithAddress comparison.
It allows mount to take into account crcErrors.
Before there was a mismatch of server version
when counting crcErrors in ChunkReader.

Change-Id: I154948c0d7c243e4af2cca0b6ba794c64df63195
2018-02-26 10:31:48 +02:00
Hazeman
95844d00e4 mount: Reduce number of secondary group retrievals
This commit removes retrieval of secondary groups for
functions that do not use it (read, write, ...).

Change-Id: I45d83e5bd7b62256260f083894243878cee4be3a
2018-02-22 15:35:19 +02:00
Hazeman
726dc9a717 mount, fuse: Redesign initialization function
This commit cleans up initialization function.

Change-Id: I07c58da595a12541fcb864de4042dac3b8014020
2018-02-08 11:25:42 +01:00
Piotr Sarna
35a2bf2979 all: Apply fixes for cppcheck errors
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

Fixes #656

Change-Id: Ice328bce80141044f41768f772f0ccbafe1a94ab
2018-02-06 11:23:16 +01:00