Find a file
Saravanan D 1e91e28e37 blk-mq: Fix spurious debugfs directory creation during initialization
blk_mq_debugfs_register_sched_hctx() called from
device_add_disk()->elevator_init_mq()->blk_mq_init_sched()
initialization sequence does not have relevant parent directory
setup and thus spuriously attempts "sched" directory creation
from root mount of debugfs for every hw queue detected on the
block device

dmesg
...
debugfs: Directory 'sched' with parent '/' already present!
debugfs: Directory 'sched' with parent '/' already present!
.
.
debugfs: Directory 'sched' with parent '/' already present!
...

The parent debugfs directory for hw queues get properly setup
device_add_disk()->blk_register_queue()->blk_mq_debugfs_register()
->blk_mq_debugfs_register_hctx() later in the block device
initialization sequence.

A simple check for debugfs_dir has been added to thwart premature
debugfs directory/file creation attempts.

Signed-off-by: Saravanan D <saravanand@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-04-16 15:17:01 -06:00
arch Boundary condition fixes for bugs unearthed by the perf fuzzer. 2021-03-21 11:26:21 -07:00
block blk-mq: Fix spurious debugfs directory creation during initialization 2021-04-16 15:17:01 -06:00
certs
crypto
Documentation scsi: remove the unchecked_isa_dma flag 2021-04-06 09:28:17 -06:00
drivers block: move bio_list_copy_data to pktcdvd 2021-04-12 09:19:58 -06:00
fs block: initialize ret in bdev_disk_changed 2021-04-12 06:44:24 -06:00
include blk-mq: bypass IO scheduler's limit_depth for passthrough request 2021-04-16 06:06:49 -06:00
init
ipc
kernel io_uring-5.12-2021-03-21 2021-03-21 12:25:54 -07:00
lib
LICENSES
mm block: remove BLK_BOUNCE_ISA support 2021-04-06 09:28:17 -06:00
net module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
samples
scripts
security
sound sound fixes for 5.12-rc4 2021-03-19 09:53:32 -07:00
tools selftests: kvm: add set_boot_cpu_id test 2021-03-18 13:55:14 -04:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 5.12-rc4 2021-03-21 14:56:43 -07:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.