Linux kernel source tree
Go to file
John Garry e3c5a78cdb blk-mq: Properly init requests from blk_mq_alloc_request_hctx()
Function blk_mq_alloc_request_hctx() is missing zeroing/init of rq->bio,
biotail, __sector, and __data_len members, which blk_mq_alloc_request()
has, so duplicate what we do in blk_mq_alloc_request().

Fixes: 1f5bd336b9 ("blk-mq: add blk_mq_alloc_request_hctx")
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/1666780513-121650-1-git-send-email-john.garry@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-10-28 07:54:47 -06:00
Documentation Documentation: document ublk user recovery feature 2022-10-18 05:12:26 -07:00
LICENSES
arch powerpc updates for 6.1 2022-10-09 14:05:15 -07:00
block blk-mq: Properly init requests from blk_mq_alloc_request_hctx() 2022-10-28 07:54:47 -06:00
certs
crypto
drivers nvme fixes for Linux 6.1 2022-10-27 07:49:21 -06:00
fs ucounts: Split rlimit and ucount values and max values 2022-10-09 16:24:05 -07:00
include blk-mq: don't add non-pt request with ->end_io to batch 2022-10-27 07:15:44 -06:00
init powerpc updates for 6.1 2022-10-09 14:05:15 -07:00
io_uring
ipc ipc: mqueue: fix possible memory leak in init_mqueue_fs() 2022-10-09 16:10:22 -07:00
kernel blktrace: remove unnessary stop block trace in 'blk_trace_shutdown' 2022-10-20 06:02:52 -07:00
lib
mm The first batch of KVM patches, mostly covering x86, which I 2022-10-09 09:39:55 -07:00
net
rust
samples
scripts
security powerpc updates for 6.1 2022-10-09 14:05:15 -07:00
sound
tools powerpc updates for 6.1 2022-10-09 14:05:15 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap The first batch of KVM patches, mostly covering x86, which I 2022-10-09 09:39:55 -07:00
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS nvme: add Guenther as nvme-hwmon maintainer 2022-10-19 12:42:43 +02:00
Makefile
README

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.