]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: add mb_debug logging when there are lost chunks
authorbrookxu <brookxu.cn@gmail.com>
Sat, 15 Aug 2020 00:10:44 +0000 (08:10 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 19 Aug 2020 16:04:36 +0000 (12:04 -0400)
commit672d63feee8781a1ddefcc22edadbe9a8500f257
tree1a0e2e1eba1610666f3ee926bd7b7a9f20bf1c9a
parent3ff9918490d8e9a03339688d1b2c823c7ae261cf
ext4: add mb_debug logging when there are lost chunks

Lost chunks are when some other process raced with the current thread
to grab a particular block allocation.  Add mb_debug log for
developers who wants to see how often this is happening for a
particular workload.

Signed-off-by: Chunguang Xu <brookxu@tencent.com>
Link: https://lore.kernel.org/r/0a165ac0-1912-aebd-8a0d-b42e7cd1aea1@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/mballoc.c