]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitc55ee7d202857b000531c2acfe8ce7cba5b77b5c
tree1a0e2e1eba1610666f3ee926bd7b7a9f20bf1c9a
parent7ca4fcba92edf82b05533a6e4f6b19a5fbec6f54
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