Re: [PATCH -next] locking/rwsem: don't spin in heavy contention

From: Ming Lei
Date: Sat Mar 07 2015 - 06:48:06 EST


On Sat, Mar 7, 2015 at 5:54 AM, Dave Chinner <david@xxxxxxxxxxxxx> wrote:
>
> If you're getting stuff there, I'd be looking for a bug in ext4, not
> the rwsem code. There's no way there should be enough unwritten
> extent conversion pending to lock up the system for that length of
> time. Especially considering the test has concurrent truncates

The time is taken for spinning rwsem, so it is really a rwsem problem,
and Jason Low has posted one patch to fix it.

Thanks,
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/