Go to file
Kemeng Shi 3830ceb513 fs/writeback: bail out if there is no more inodes for IO and queued once
[ Upstream commit d92109891f ]

For case there is no more inodes for IO in io list from last wb_writeback,
We may bail out early even there is inode in dirty list should be written
back. Only bail out when we queued once to avoid missing dirtied inode.

This is from code reading...

Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Link: https://lore.kernel.org/r/20240228091958.288260-3-shikemeng@huaweicloud.com
Reviewed-by: Jan Kara <jack@suse.cz>
[brauner@kernel.org: fold in memory corruption fix from Jan in [1]]
Link: https://lore.kernel.org/r/20240405132346.bid7gibby3lxxhez@quack3 [1]
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-10 20:28:54 +08:00
.github/workflows chore: fix package-kernel-amd64-daily upload deb 2024-12-10 20:28:54 +08:00
Documentation dt-bindings: phytnet_led: Add bindings for Phytium MAC led 2024-12-10 20:28:54 +08:00
LICENSES LICENSES: Add the copyleft-next-0.3.1 license 2022-11-08 15:44:01 +01:00
arch irqchip/gic-phytium-2500: Add support for GIC of Phytium PS20064 2024-12-10 20:26:52 +08:00
block block: fix request.queuelist usage in flush 2024-12-10 20:26:46 +08:00
certs certs: Reference revocation list for all keyrings 2023-08-17 20:12:41 +00:00
crypto crypto: ecrdsa - Fix module auto-load on add_key 2024-12-10 20:26:27 +08:00
drivers arm64:phytnetled: phytium: Add link/act led driver for 10G mac 2024-12-10 20:28:54 +08:00
fs fs/writeback: bail out if there is no more inodes for IO and queued once 2024-12-10 20:28:54 +08:00
include irqchip/gic-phytium-2500: Add support for GIC of Phytium PS20064 2024-12-10 20:26:52 +08:00
init smp: Provide 'setup_max_cpus' definition on UP too 2024-12-10 20:26:32 +08:00
io_uring io_uring/io-wq: avoid garbage value of 'match' in io_wq_enqueue() 2024-12-10 20:26:44 +08:00
ipc Add x86 shadow stack support 2023-08-31 12:20:12 -07:00
kernel zap_pid_ns_processes: clear TIF_NOTIFY_SIGNAL along with TIF_SIGPENDING 2024-12-10 20:26:52 +08:00
lib lib/test_hmm.c: handle src_pfns and dst_pfns allocation failure 2024-12-10 20:26:02 +08:00
mm mm/huge_memory: don't unpoison huge_zero_folio 2024-12-10 20:26:50 +08:00
net sock_map: avoid race between sock_map_close and sk_psock_put 2024-12-10 20:26:48 +08:00
rust rust: kernel: require `Send` for `Module` implementations 2024-12-10 20:19:38 +08:00
samples work around gcc bugs with 'asm goto' with outputs 2024-02-23 09:24:47 +01:00
scripts modpost: do not warn about missing MODULE_DESCRIPTION() for vmlinux.o 2024-12-10 20:26:45 +08:00
security ima: Fix use-after-free on a dentry's dname.name 2024-12-10 20:26:51 +08:00
sound ALSA: seq: Fix incorrect UMP type for system messages 2024-12-10 20:26:31 +08:00
tools selftests: net: lib: avoid error removing empty netns name 2024-12-10 20:26:51 +08:00
usr initramfs: Encode dependency on KBUILD_BUILD_TIMESTAMP 2023-06-06 17:54:49 +09:00
virt KVM: Always flush async #PF workqueue when vCPU is being destroyed 2024-04-03 15:28:18 +02:00
.clang-format iommu: Add for_each_group_device() 2023-05-23 08:15:51 +02:00
.cocciconfig
.get_maintainer.ignore get_maintainer: add Alan to .get_maintainer.ignore 2022-08-20 15:17:44 -07:00
.gitattributes .gitattributes: set diff driver for Rust source code files 2023-05-31 17:48:25 +02:00
.gitignore kbuild: rpm-pkg: rename binkernel.spec to kernel.spec 2023-07-25 00:59:33 +09:00
.mailmap 20 hotfixes. 12 are cc:stable and the remainder address post-6.5 issues 2023-10-24 09:52:16 -10:00
.rustfmt.toml rust: add `.rustfmt.toml` 2022-09-28 09:02:20 +02:00
COPYING COPYING: state that all contributions really are covered by this file 2020-02-10 13:32:20 -08:00
CREDITS USB: Remove Wireless USB and UWB documentation 2023-08-09 14:17:32 +02:00
Kbuild Kbuild updates for v6.1 2022-10-10 12:00:45 -07:00
Kconfig kbuild: ensure full rebuild when the compiler is updated 2020-05-12 13:28:33 +09:00
MAINTAINERS pwm: Rename pwm_apply_state() to pwm_apply_might_sleep() 2024-12-10 20:26:08 +08:00
Makefile Linux 6.6.35 2024-12-10 20:26:52 +08:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06: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.