diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2019-04-12 11:35:55 +0800 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2019-04-16 10:57:05 +0000 |
commit | 5f51159463f892bd118123bf2870b5a0be1c14ea (patch) | |
tree | 6852b82ebc96d201267791d59f8f74335b302a31 /tests/00-geo-rep/georep-basic-dr-rsync-arbiter.t | |
parent | 88ecd64604ce01c5bc2c2ca88e33b8dcf57d5ee8 (diff) |
ec: fix truncate lock to cover the write in tuncate clean
ec_truncate_clean does writing under the lock granted for truncate,
but the lock is calculated by ec_adjust_offset_up, so that,
the write in ec_truncate_clean is out of lock.
Updates: bz#1699499
Change-Id: Idbe1fd48d26afe49c36b77db9f12e0907f5a4134
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
(cherry picked from commit 0e1223491e964096384edfae5032ed0d50d028ad)
Diffstat (limited to 'tests/00-geo-rep/georep-basic-dr-rsync-arbiter.t')
0 files changed, 0 insertions, 0 deletions