diff options
author | Ashish Pandey <aspandey@redhat.com> | 2019-07-30 10:32:39 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-07-30 12:57:42 +0000 |
commit | 22bd0570c04cb94d1a954b56d11db61790ff20b2 (patch) | |
tree | 568101add44b546633eed22e00bab48547ff515c /tests/basic | |
parent | 065b10beaae8ea7390c2e3059044313aef8a5fea (diff) |
cluster/ec: Create heal task with heal process id
Problem:
ec_data_undo_pending calls syncop_fxattrop->SYNCOP without
a frame. In this case SYNCOP gets the frame of the task.
However, when we create a synctask for heal we provide
frame as NULL.
Now, if the read-only feature is ON, it will receive the
process ID of the shd as 0 and will consider that it as
not an internal process. This will prevent healing of a
file with "Read-only file system" error message log.
Solution:
While launching heal, create a synctask using frame and set
process id of the SHD which is -6.
Change-Id: I37195399c85de322cbcac75633888922c4e3db4a
Fixes: bz#1734252
Diffstat (limited to 'tests/basic')
0 files changed, 0 insertions, 0 deletions