linux/drivers
Joe Thornber 2c43fd26e4 dm thin: fix missing out-of-data-space to write mode transition if blocks are released
Discard bios and thin device deletion have the potential to release data
blocks.  If the thin-pool is in out-of-data-space mode, and blocks were
released, transition the thin-pool back to full write mode.

The correct time to do this is just after the thin-pool metadata commit.
It cannot be done before the commit because the space maps will not
allow immediate reuse of the data blocks in case there's a rollback
following power failure.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@vger.kernel.org
2014-12-17 11:59:36 -05:00
..
accessibility
acpi Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
amba Char/Misc driver patches for 3.19-rc1 2014-12-14 16:43:47 -08:00
ata Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
atm Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
auxdisplay
base Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
bcma
block Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
bluetooth Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
bus Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
cdrom
char Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-12-15 15:52:01 -08:00
clk Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
clocksource
connector
coresight
cpufreq Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
cpuidle Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
crypto Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
dca
devfreq
dio
dma Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
dma-buf
edac Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
eisa
extcon Char/Misc driver patches for 3.19-rc1 2014-12-14 16:43:47 -08:00
firewire
firmware Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
fmc
gpio Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
gpu Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-12-15 15:52:01 -08:00
hid
hsi Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
hv Char/Misc driver patches for 3.19-rc1 2014-12-14 16:43:47 -08:00
hwmon Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
hwspinlock
i2c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
ide Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
idle
iio Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
infiniband
input Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
iommu Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-12-15 15:52:01 -08:00
ipack
irqchip Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
isdn
leds Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
lguest
macintosh
mailbox Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
mcb
md dm thin: fix missing out-of-data-space to write mode transition if blocks are released 2014-12-17 11:59:36 -05:00
media Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
memory Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
memstick
message
mfd Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
misc Char/Misc driver patches for 3.19-rc1 2014-12-14 16:43:47 -08:00
mmc Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
mtd Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
net Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
nfc Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
ntb
nubus
of Merge branch 'i2c/for-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2014-12-14 12:54:40 -08:00
oprofile
parisc
parport Char/Misc driver patches for 3.19-rc1 2014-12-14 16:43:47 -08:00
pci Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pcmcia Char/Misc driver patches for 3.19-rc1 2014-12-14 16:43:47 -08:00
phy
pinctrl Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
platform Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pnp
power Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
remoteproc Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
reset Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
rpmsg
rtc Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
s390 Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
sbus
scsi Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
sfi
sh
sn
soc Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-12-15 15:52:01 -08:00
spi Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
spmi
ssb
staging Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-12-15 15:52:01 -08:00
target
tc
thermal Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
thunderbolt
tty Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
uio Char/Misc driver patches for 3.19-rc1 2014-12-14 16:43:47 -08:00
usb Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
uwb
vfio
vhost
video Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
virt
virtio Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
vlynq
vme
w1 Char/Misc driver patches for 3.19-rc1 2014-12-14 16:43:47 -08:00
watchdog Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
xen
zorro
Kconfig
Makefile