summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src
diff options
context:
space:
mode:
authorkinsu <vpolakis@gmail.com>2019-09-19 08:34:32 +0000
committerXavi Hernandez <xhernandez@redhat.com>2020-02-24 18:31:04 +0000
commit3ba0885b5be42efec01ebd42cc5fbd33dc1b2756 (patch)
treebfb59bcbbea7c7221c37853d7be59967949408ec /xlators/cluster/dht/src
parenta0e08901a87700f967c26f146f54e2301f5d0594 (diff)
Segmentation fault occurs during truncate
Problem: Segmentation fault occurs when bricks are nearly full 100% and in parallel truncate of a file is attempted (No space left on device). Prerequicite is that performance xlators are activated (read-ahead, write-behind etc) while stack unwind of the frames following an error responce from brick (No space left on device) frame->local includes a memory location that is not allocated via mem_get but via calloc. The destroyed frame is always ra_truncate_cbk winded from ra_ftruncate and the inode ptr is copied to the frame local in the wb_ftruncate. Fix: extra check is added for the pool ptr Change-Id: Ic5d3bd0ab7011e40b2811c6dece063b256e4d9d1 Fixes: bz#1797882 Signed-off-by: kinsu <vpolakis@gmail.com>
Diffstat (limited to 'xlators/cluster/dht/src')
0 files changed, 0 insertions, 0 deletions