Chengguang Xu 30ef0e4085 ext2: don't set *count in the case of failure in ext2_try_to_allocate()
Currently we set *count to num(value 0) in the failure
of block allocation in ext2_try_to_allocate(). Without
reservation, we reuse *count(value 0) to retry block
allocation and wrong *count will cause only allocating
maximum 1 block even though having sufficent free blocks
in that block group. Finally, it probably cause significant
fragmentation.

Link: https://lore.kernel.org/r/20191026090721.23794-1-cgxu519@mykernel.net
Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>
Signed-off-by: Jan Kara <jack@suse.cz>
2019-10-31 15:40:44 +01:00
..
2019-01-21 17:48:17 +01:00
\n
2019-03-07 09:01:33 -08:00
2019-02-18 15:14:43 +01:00
2019-02-18 15:14:43 +01:00
\n
2019-09-21 13:53:34 -07:00
2019-02-18 15:14:43 +01:00