Find a file
Christoph Hellwig 70200574cc block: remove QUEUE_FLAG_DISCARD
Just use a non-zero max_discard_sectors as an indicator for discard
support, similar to what is done for write zeroes.

The only places where needs special attention is the RAID5 driver,
which must clear discard support for security reasons by default,
even if the default stacking rules would allow for it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com> [drbd]
Acked-by: Jan Höppner <hoeppner@linux.ibm.com> [s390]
Acked-by: Coly Li <colyli@suse.de> [bcache]
Acked-by: David Sterba <dsterba@suse.com> [btrfs]
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220415045258.199825-25-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-04-17 19:49:59 -06:00
arch block: remove QUEUE_FLAG_DISCARD 2022-04-17 19:49:59 -06:00
block block: remove QUEUE_FLAG_DISCARD 2022-04-17 19:49:59 -06:00
certs
crypto
Documentation
drivers block: remove QUEUE_FLAG_DISCARD 2022-04-17 19:49:59 -06:00
fs block: remove QUEUE_FLAG_DISCARD 2022-04-17 19:49:59 -06:00
include block: remove QUEUE_FLAG_DISCARD 2022-04-17 19:49:59 -06:00
init
ipc
kernel A small set of fixes for the timers core: 2022-04-17 09:53:01 -07:00
lib
LICENSES
mm block: remove QUEUE_FLAG_DISCARD 2022-04-17 19:49:59 -06:00
net
samples
scripts
security
sound
tools Two x86 fixes related to TSX: 2022-04-17 09:55:59 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 5.18-rc3 2022-04-17 13:57:31 -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.