The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2)
Перейти к файлу
Christoph Hellwig 609be10667 block: pass a block_device and opf to bio_alloc_bioset
Pass the block_device and operation that we plan to use this bio for to
bio_alloc_bioset to optimize the assigment.  NULL/0 can be passed, both
for the passthrough case on a raw request_queue and to temporarily avoid
refactoring some nasty code.

Also move the gfp_mask argument after the nr_vecs argument for a much
more logical calling convention matching what most of the kernel does.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220124091107.642561-16-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-02-02 07:49:59 -07:00
Documentation block: remove genhd.h 2022-02-02 07:49:59 -07:00
LICENSES
arch block: remove genhd.h 2022-02-02 07:49:59 -07:00
block block: pass a block_device and opf to bio_alloc_bioset 2022-02-02 07:49:59 -07:00
certs
crypto
drivers block: pass a block_device and opf to bio_alloc_bioset 2022-02-02 07:49:59 -07:00
fs block: pass a block_device and opf to bio_alloc_bioset 2022-02-02 07:49:59 -07:00
include block: pass a block_device and opf to bio_alloc_bioset 2022-02-02 07:49:59 -07:00
init block: remove genhd.h 2022-02-02 07:49:59 -07:00
ipc
kernel block: remove genhd.h 2022-02-02 07:49:59 -07:00
lib kasan: test: fix compatibility with FORTIFY_SOURCE 2022-01-30 09:56:58 +02:00
mm memory-failure: fetch compound_head after pgmap_pfn_valid() 2022-01-30 09:56:58 +02:00
net
samples
scripts
security block: remove genhd.h 2022-02-02 07:49:59 -07:00
sound
tools tools/testing/scatterlist: add missing defines 2022-01-30 09:56:58 +02:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 5.17-rc2 2022-01-30 15:37:07 +02:00
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.