Linux kernel modifications for the Kernel Hacking exam
Find a file
Christoph Hellwig 74d46992e0 block: replace bi_bdev with a gendisk pointer and partitions index
This way we don't need a block_device structure to submit I/O.  The
block_device has different life time rules from the gendisk and
request_queue and is usually only available when the block device node
is open.  Other callers need to explicitly create one (e.g. the lightnvm
passthrough code, or the new nvme multipathing code).

For the actual I/O path all that we need is the gendisk, which exists
once per block device.  But given that the block layer also does
partition remapping we additionally need a partition index, which is
used for said remapping in generic_make_request.

Note that all the block drivers generally want request_queue or
sometimes the gendisk, so this removes a layer of indirection all
over the stack.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2017-08-23 12:49:55 -06:00
arch block: replace bi_bdev with a gendisk pointer and partitions index 2017-08-23 12:49:55 -06:00
block block: replace bi_bdev with a gendisk pointer and partitions index 2017-08-23 12:49:55 -06:00
certs
crypto
Documentation Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2017-07-28 12:31:49 -07:00
drivers block: replace bi_bdev with a gendisk pointer and partitions index 2017-08-23 12:49:55 -06:00
firmware
fs block: replace bi_bdev with a gendisk pointer and partitions index 2017-08-23 12:49:55 -06:00
include block: replace bi_bdev with a gendisk pointer and partitions index 2017-08-23 12:49:55 -06:00
init
ipc
kernel block: replace bi_bdev with a gendisk pointer and partitions index 2017-08-23 12:49:55 -06:00
lib
mm block: replace bi_bdev with a gendisk pointer and partitions index 2017-08-23 12:49:55 -06:00
net
samples
scripts DeviceTree fixes for 4.13: 2017-07-28 17:21:41 -07:00
security
sound sound fixes for 4.13-rc3 2017-07-27 10:44:28 -07:00
tools tools/kvm_stat: add '-f help' to get the available event list 2017-07-26 19:04:53 +02:00
usr
virt KVM: make pid available for uevents without debugfs 2017-07-26 18:57:44 +02:00
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS skd: Update maintainer information 2017-08-18 08:45:29 -06:00
Makefile Linux 4.13-rc2 2017-07-23 16:15:17 -07:00
README

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

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

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.