Re: [PATCH] ext4: add cond_resched() to ext4_mb_init_backend()

2019-04-18 Thread Khazhismel Kumykov
On Thu, Apr 18, 2019 at 4:53 AM Jan Kara wrote: > > On Mon 15-04-19 19:59:34, Khazhismel Kumykov wrote: > > on non-preempt kernels for filesystems with large number of groups we > > may take a long time (>50 ticks) initializing all the groups. > > > > Signed-off-by: Khazhismel Kumykov > > Thanks

Re: [PATCH] ext4: add cond_resched() to ext4_mb_init_backend()

2019-04-18 Thread Jan Kara
On Mon 15-04-19 19:59:34, Khazhismel Kumykov wrote: > on non-preempt kernels for filesystems with large number of groups we > may take a long time (>50 ticks) initializing all the groups. > > Signed-off-by: Khazhismel Kumykov Thanks for the patch. I'm not opposed to this but I'm just wondering:

[PATCH] ext4: add cond_resched() to ext4_mb_init_backend()

2019-04-15 Thread Khazhismel Kumykov
on non-preempt kernels for filesystems with large number of groups we may take a long time (>50 ticks) initializing all the groups. Signed-off-by: Khazhismel Kumykov --- fs/ext4/mballoc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index 8ef5f12bbee2