Re: [PATCH] disk storage: fix allocation size for pool format dos

2020-09-09 Thread Michal Privoznik
On 8/29/20 2:49 AM, Sebastian Mitterle wrote: The changed condition was always false because the function was always called with boundary values 0. Use the free extent's start value to get its start offset from the cylinder boundary and determine if the needed size for allocation needs to be exp

Re: [PATCH] disk storage: fix allocation size for pool format dos

2020-09-08 Thread Sebastian Mitterle
PING On Sat, Aug 29, 2020 at 2:49 AM Sebastian Mitterle wrote: > The changed condition was always false because the function was always > called with boundary values 0. > > Use the free extent's start value to get its start offset from the > cylinder boundary and determine if the needed size for

[PATCH] disk storage: fix allocation size for pool format dos

2020-08-28 Thread Sebastian Mitterle
The changed condition was always false because the function was always called with boundary values 0. Use the free extent's start value to get its start offset from the cylinder boundary and determine if the needed size for allocation needs to be expanded too in case the offset doesn't fit within