Re: [Devel] [PATCH vz7 v3] ploop: properly restore old delta kobject on replace error

2023-06-14 Thread Pavel Tikhomirov
On 15.06.2023 04:23, Alexander Atanasov wrote: Current code removes the old_delta kobject before the new delta is completely ready to be used, in case there is an error while reading BAT, the "too short BAT" error we have seen, the new delta and its objects are destroyed properly but the original

[Devel] [PATCH vz7 v3] ploop: properly restore old delta kobject on replace error

2023-06-14 Thread Alexander Atanasov
Current code removes the old_delta kobject before the new delta is completely ready to be used, in case there is an error while reading BAT, the "too short BAT" error we have seen, the new delta and its objects are destroyed properly but the original delta kobject is not restored, so pdelta sysfs d