No description
Find a file
Ming Lei baa2c7c971 block: set .bi_max_vecs as actual allocated vector number
bvec_alloc() may allocate more bio vectors than requested, so set
.bi_max_vecs as actual allocated vector number, instead of the requested
number. This way can help fs build bigger bio because new bio often won't
be allocated until the current one becomes full.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-01-24 21:22:45 -07:00
arch block: store a block_device pointer in struct bio 2021-01-24 18:17:20 -07:00
block block: set .bi_max_vecs as actual allocated vector number 2021-01-24 21:22:45 -07:00
certs
crypto
Documentation
drivers block: add a disk_uevent helper 2021-01-24 18:17:20 -07:00
fs block: store a block_device pointer in struct bio 2021-01-24 18:17:20 -07:00
include block: don't allocate inline bvecs if this bioset needn't bvecs 2021-01-24 21:22:45 -07:00
init
ipc
kernel block: store a block_device pointer in struct bio 2021-01-24 18:17:20 -07:00
lib
LICENSES
mm block: store a block_device pointer in struct bio 2021-01-24 18:17:20 -07:00
net
samples
scripts
security
sound
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
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.