No description
Find a file
Anand Jain f4f4ac411e btrfs: dev-replace: go back to suspended state if target device is missing
commit 0d228ece59 upstream.

At the time of forced unmount we place the running replace to
BTRFS_IOCTL_DEV_REPLACE_STATE_SUSPENDED state, so when the system comes
back and expect the target device is missing.

Then let the replace state continue to be in
BTRFS_IOCTL_DEV_REPLACE_STATE_SUSPENDED state instead of
BTRFS_IOCTL_DEV_REPLACE_STATE_STARTED as there isn't any matching scrub
running as part of replace.

Fixes: e93c89c1aa ("Btrfs: add new sources for device replace code")
CC: stable@vger.kernel.org # 4.4+
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-31 08:13:48 +01:00
arch xen: Fix x86 sched_clock() interface for xen 2019-01-31 08:13:48 +01:00
block block: fix infinite loop if the device loses discard capability 2018-12-29 13:39:07 +01:00
certs
crypto crypto: authenc - fix parsing key with misaligned rta_len 2019-01-23 08:09:48 +01:00
Documentation mm, proc: be more verbose about unstable VMA flags in /proc/<pid>/smaps 2019-01-26 09:37:07 +01:00
drivers xen: Fix x86 sched_clock() interface for xen 2019-01-31 08:13:48 +01:00
firmware
fs btrfs: dev-replace: go back to suspended state if target device is missing 2019-01-31 08:13:48 +01:00
include x86/xen/time: setup vcpu 0 time info page 2019-01-31 08:13:47 +01:00
init
ipc
kernel posix-cpu-timers: Unbreak timer rearming 2019-01-31 08:13:46 +01:00
lib lib: fix build failure in CONFIG_DEBUG_VIRTUAL test 2019-01-13 10:01:07 +01:00
mm mm/swap: use nr_node_ids for avail_lists in swap_info_struct 2019-01-26 09:37:06 +01:00
net can: bcm: check timer values before ktime conversion 2019-01-31 08:13:46 +01:00
samples
scripts kconfig: fix memory leak when EOF is encountered in quotation 2019-01-26 09:37:04 +01:00
security selinux: always allow mounting submounts 2019-01-26 09:37:02 +01:00
sound ALSA: hda - Add mute LED support for HP ProBook 470 G5 2019-01-31 08:13:42 +01:00
tools Revert "seccomp: add a selftest for get_metadata" 2019-01-31 08:13:46 +01:00
usr
virt KVM: arm/arm64: Fix VMID alloc race by reverting to lock-less 2019-01-16 22:07:13 +01:00
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: Add Sasha as a stable branch maintainer 2018-12-01 09:42:50 +01:00
Makefile Linux 4.14.96 2019-01-26 09:37:07 +01: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.