Damien Le Moal
b73c67c2cb
dm kcopyd: add sequential write feature
...
When copyying blocks to host-managed zoned block devices, writes must be
sequential. However, dm_kcopyd_copy() does not guarantee this as writes
are issued in the completion order of reads, and reads may complete out
of order despite being issued sequentially.
Fix this by introducing the DM_KCOPYD_WRITE_SEQ feature flag. This can
be specified when calling dm_kcopyd_copy() and should be set
automatically if one of the destinations is a host-managed zoned block
device. For a split job, the master job maintains the write position at
which writes must be issued. This is checked with the pop() function
which is modified to not return any write I/O sub job that is not at the
correct write position.
When DM_KCOPYD_WRITE_SEQ is specified for a job, errors cannot be
ignored and the flag DM_KCOPYD_IGNORE_ERROR is ignored, even if
specified by the user.
Signed-off-by: Damien Le Moal <[email protected] >
Reviewed-by: Hannes Reinecke <[email protected] >
Reviewed-by: Bart Van Assche <[email protected] >
Signed-off-by: Mike Snitzer <[email protected] >
2017-06-19 11:03:51 -04:00
..
accessibility
acpi
Merge branch 'uuid-types' of bombadil.infradead.org:public_git/uuid into nvme-base
2017-06-13 11:45:14 +02:00
amba
android
ata
libata: fix error checking in in ata_parse_force_one()
2017-05-31 14:26:26 -04:00
atm
auxdisplay
base
Merge branches 'intel_pstate' and 'pm-sleep'
2017-06-09 01:25:16 +02:00
bcma
block
xen-blkfront: remove bio splitting.
2017-06-18 12:40:59 -06:00
bluetooth
bus
cdrom
block: introduce new block status code type
2017-06-09 09:27:32 -06:00
char
Merge branch 'uuid-types' of bombadil.infradead.org:public_git/uuid into nvme-base
2017-06-13 11:45:14 +02:00
clk
clocksource
connector
cpufreq
Merge branches 'intel_pstate' and 'pm-sleep'
2017-06-09 01:25:16 +02:00
cpuidle
crypto
dax
device-dax: fix 'dax' device filesystem inode destruction crash
2017-06-09 08:50:49 -07:00
dca
devfreq
dio
dma
dmaengine: pl330: fix warning in pl330_remove
2017-06-02 11:49:44 +05:30
dma-buf
edac
eisa
extcon
firewire
firmware
Char/Misc driver fixes for 4.12-rc5
2017-06-11 11:29:15 -07:00
fmc
fpga
fsi
gpio
gpio: mvebu: fix gpio bank registration when pwm is used
2017-06-09 09:38:27 +02:00
gpu
Merge branch 'uuid-types' of bombadil.infradead.org:public_git/uuid into nvme-base
2017-06-13 11:45:14 +02:00
hid
ACPI: Switch to use generic guid_t in acpi_evaluate_dsm()
2017-06-07 12:20:49 +02:00
hsi
hv
hwmon
hwmon: (aspeed-pwm-tacho) make fan/pwm names start with index 1
2017-06-03 03:55:43 -07:00
hwspinlock
hwtracing
i2c
ide
block: introduce new block status code type
2017-06-09 09:27:32 -06:00
idle
iio
infiniband
RDMA/SA: Fix kernel panic in CMA request handler flow
2017-06-01 17:20:14 -04:00
input
Input: synaptics-rmi4 - register F03 port as pass-through serio
2017-06-09 09:57:19 -07:00
iommu
Merge branch 'uuid-types' of bombadil.infradead.org:public_git/uuid into nvme-base
2017-06-13 11:45:14 +02:00
ipack
irqchip
isdn
mISDN: Fix a sleep-in-atomic bug
2017-06-01 14:49:47 -04:00
leds
lguest
lightnvm
lightnvm/pblk-read: use bio_clone_fast()
2017-06-18 12:40:59 -06:00
macintosh
mailbox
mcb
md
dm kcopyd: add sequential write feature
2017-06-19 11:03:51 -04:00
media
media fixes for v4.12-rc4
2017-06-06 09:37:44 -07:00
memory
Merge tag 'at91-4.12-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux into fixes
2017-06-01 17:07:31 -07:00
memstick
block: introduce new block status code type
2017-06-09 09:27:32 -06:00
message
mfd
misc
Char/Misc driver fixes for 4.12-rc5
2017-06-11 11:29:15 -07:00
mmc
Merge branch 'uuid-types' of bombadil.infradead.org:public_git/uuid into nvme-base
2017-06-13 11:45:14 +02:00
mtd
Linux 4.12-rc5
2017-06-12 08:30:13 -06:00
net
Merge branch 'uuid-types' of bombadil.infradead.org:public_git/uuid into nvme-base
2017-06-13 11:45:14 +02:00
nfc
ntb
nubus
nvdimm
Merge branch 'uuid-types' of bombadil.infradead.org:public_git/uuid into nvme-base
2017-06-13 11:45:14 +02:00
nvme
nvme: host: unquiesce queue in nvme_kill_queues()
2017-06-18 20:52:58 -06:00
nvmem
of
iommu/of: Ignore all errors except EPROBE_DEFER
2017-05-30 11:31:32 +02:00
oprofile
parisc
parport
pci
ACPI: Switch to use generic guid_t in acpi_evaluate_dsm()
2017-06-07 12:20:49 +02:00
pcmcia
perf
drivers/perf: arm_pmu_acpi: avoid perf IRQ init when guest PMU is off
2017-05-30 12:40:03 +01:00
phy
phy: qualcomm: phy-qcom-qmp: fix application of sizeof to pointer
2017-06-01 15:03:41 +05:30
pinctrl
platform
goldfish_pipe: use GFP_ATOMIC under spin lock
2017-05-25 18:26:11 +02:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
blk: remove bio_set arg from blk_queue_split()
2017-06-18 12:40:59 -06:00
sbus
block: introduce new block status code type
2017-06-09 09:27:32 -06:00
scsi
blk-mq: use the introduced blk_mq_unquiesce_queue()
2017-06-18 14:20:04 -06:00
sfi
sh
sn
soc
spi
spmi
ssb
staging
Staging/IIO fixes for 4.12-rc5
2017-06-11 11:25:51 -07:00
target
blk: replace bioset_create_nobvec() with a flags arg to bioset_create()
2017-06-18 12:40:59 -06:00
tc
tee
thermal
thermal: int340x_thermal: fix compile after the UUID API switch
2017-06-09 16:37:31 +02:00
thunderbolt
tty
Revert "tty: fix port buffer locking"
2017-06-04 10:23:25 +02:00
uio
usb
Merge branch 'uuid-types' of bombadil.infradead.org:public_git/uuid into nvme-base
2017-06-13 11:45:14 +02:00
uwb
vfio
vhost
video
virt
virtio
vlynq
vme
w1
watchdog
xen
Merge branch 'uuid-types' of bombadil.infradead.org:public_git/uuid into nvme-base
2017-06-13 11:45:14 +02:00
zorro
Kconfig
Makefile