1
0
mirror of https://github.com/gluster/glusterfs.git synced 2026-02-06 00:49:30 +01:00
mohit84 1de6ba8bc6 io-stat: xlator Segmentation fault (#3905)
The process is getting crashed during call ios_bump_stats in cbk code path.
After checked the code it seems the process is getting crashed because the
ios_stat_head list is destroyed by the function ios_destroy_top_stats
without taking a list mutex while receive a clear profile event from the
client. If at the same time a process is trying to access the list
it can be crash.

Solution: Destroy the ios_stat under the list mutex.
> Change-Id: I1b4d56517fa405eb84da7fffca61e15530652204
> Fixes: #3901
> Signed-off-by: Mohit Agrawal moagrawa@redhat.com
> (Cherry picked from commit 3e874d0b50)
> (Reviewed on upstream link https://github.com/gluster/glusterfs/pull/3902)

Change-Id: I1b4d56517fa405eb84da7fffca61e15530652204
Fixes: #3901
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>

Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
2022-11-15 19:24:25 +05:30
2022-03-16 13:00:38 +05:30
2020-08-12 18:47:56 +05:30
2017-09-01 14:09:06 +01:00
2020-08-12 18:47:56 +05:30
2020-12-04 11:22:40 +00:00

Gluster

Gluster is a software defined distributed storage that can scale to several petabytes. It provides interfaces for object, block and file storage.

Development

The development workflow is documented in Contributors guide

Documentation

The Gluster documentation can be found at Gluster Docs.

Deployment

Quick instructions to build and install can be found in INSTALL file.

Testing

GlusterFS source contains some functional tests under tests/ directory. All these tests are run against every patch submitted for review. If you want your patch to be tested, please add a .t test file as part of your patch submission. You can also submit a patch to only add a .t file for the test case you are aware of.

To run these tests, on your test-machine, just run ./run-tests.sh. Don't run this on a machine where you have 'production' glusterfs is running, as it would blindly kill all gluster processes in each runs.

If you are sending a patch, and want to validate one or few specific tests, then run a single test by running the below command.

  bash# /bin/bash ${path_to_gluster}/tests/basic/rpc-coverage.t

You can also use prove tool if available in your machine, as follows.

  bash# prove -vmfe '/bin/bash' ${path_to_gluster}/tests/basic/rpc-coverage.t

Maintainers

The list of Gluster maintainers is available in MAINTAINERS file.

License

Gluster is dual licensed under GPLV2 and LGPLV3+.

Please visit the Gluster Home Page to find out more about Gluster.

Description
Gluster Filesystem - (this is only a public mirror, see the README for contributing)
Readme 212 MiB
Languages
C 85%
Shell 9.2%
Python 3.6%
Perl 0.8%
Makefile 0.4%
Other 0.7%