Jeffle Xu
a36aeadeb4
dm table: fix DAX iterate_devices based device capability checks
...
commit 5b0fab508992c2e120971da658ce80027acbc405 upstream.
Fix dm_table_supports_dax() and invert logic of both
iterate_devices_callout_fn so that all devices' DAX capabilities are
properly checked.
Fixes: 545ed20e6d ("dm: add infrastructure for DAX support")
Cc: stable@vger.kernel.org
Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
[jeffle: no dax write cache, no dax synchronous]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-11 13:48:03 +01:00
..
bcache
bcache: fix a lost wake-up problem caused by mca_cannibalize_lock
2020-10-01 20:40:03 +02:00
persistent-data
dm space map common: fix to ensure new block isn't already in use
2020-02-14 16:31:01 -05:00
bitmap.c
md/bitmap: md_bitmap_get_counter returns wrong blocks
2020-11-10 10:23:54 +01:00
bitmap.h
dm-bio-prison.c
dm: Use kzalloc for all structs with embedded biosets/mempools
2019-11-06 12:18:01 +01:00
dm-bio-prison.h
dm-bio-record.h
dm-bufio.c
Revert "dm bufio: fix deadlock with loop device"
2019-09-06 10:19:36 +02:00
dm-bufio.h
dm-builtin.c
dm-cache-block-types.h
dm-cache-metadata.c
dm cache metadata: Avoid returning cmd->bm wild pointer on error
2020-09-12 11:47:37 +02:00
dm-cache-metadata.h
dm-cache-policy-cleaner.c
dm-cache-policy-internal.h
dm-cache-policy-smq.c
dm-cache-policy.c
dm-cache-policy.h
dm-cache-target.c
dm cache: fix a crash due to incorrect work item cancelling
2020-03-11 07:53:14 +01:00
dm-core.h
dm-crypt.c
dm-delay.c
dm delay: fix a crash when invalid device is specified
2019-05-25 18:26:54 +02:00
dm-era-target.c
dm era: Update in-core bitset after committing the metadata
2021-03-03 17:44:46 +01:00
dm-exception-store.c
dm-exception-store.h
dm-flakey.c
dm flakey: check for null arg_name in parse_features()
2020-04-24 07:59:05 +02:00
dm-io.c
dm: Use kzalloc for all structs with embedded biosets/mempools
2019-11-06 12:18:01 +01:00
dm-ioctl.c
dm ioctl: fix error return code in target_message
2020-12-29 13:44:58 +01:00
dm-kcopyd.c
dm: Use kzalloc for all structs with embedded biosets/mempools
2019-11-06 12:18:01 +01:00
dm-linear.c
dm-log-userspace-base.c
dm-log-userspace-transfer.c
dm-log-userspace-transfer.h
dm-log-writes.c
dm-log.c
dm-mpath.c
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-queue-length.c
dm-raid.c
dm raid: fix rebuild of specific devices by updating superblock
2018-10-10 08:53:21 +02:00
dm-raid1.c
dm-region-hash.c
dm: Use kzalloc for all structs with embedded biosets/mempools
2019-11-06 12:18:01 +01:00
dm-round-robin.c
dm-rq.c
dm-rq.h
dm-service-time.c
dm-snap-persistent.c
block: fix an integer overflow in logical block size
2020-01-23 08:19:38 +01:00
dm-snap-transient.c
dm-snap.c
dm: Use kzalloc for all structs with embedded biosets/mempools
2019-11-06 12:18:01 +01:00
dm-stats.c
dm-stats.h
dm-stripe.c
dm-switch.c
dm-sysfs.c
dm-table.c
dm table: fix DAX iterate_devices based device capability checks
2021-03-11 13:48:03 +01:00
dm-target.c
dm-thin-metadata.c
dm thin metadata: Avoid returning cmd->bm wild pointer on error
2020-09-12 11:47:37 +02:00
dm-thin-metadata.h
dm thin: fix passdown_double_checking_shared_status()
2019-01-31 08:12:36 +01:00
dm-thin.c
dm: Use kzalloc for all structs with embedded biosets/mempools
2019-11-06 12:18:01 +01:00
dm-uevent.c
dm-uevent.h
dm-verity-fec.c
dm verity fec: fix hash block number in verity_fec_decode
2020-05-05 19:14:38 +02:00
dm-verity-fec.h
dm-verity-target.c
dm verity: use message limit for data block corruption message
2019-07-21 09:06:07 +02:00
dm-verity.h
dm-zero.c
dm.c
dm: fix potential for q->make_request_fn NULL pointer
2020-02-14 16:31:10 -05:00
dm.h
faulty.c
Kconfig
linear.c
linear.h
Makefile
md-cluster.c
md-cluster: fix wild pointer of unlock_all_bitmaps()
2020-08-21 11:01:58 +02:00
md-cluster.h
md.c
md: fix a warning caused by a race between concurrent md_ioctl()s
2020-12-29 13:44:52 +01:00
md.h
multipath.c
multipath.h
raid0.c
block: fix an integer overflow in logical block size
2020-01-23 08:19:38 +01:00
raid0.h
raid1.c
md: raid1: check rdev before reference in raid1_sync_request func
2020-01-12 11:24:10 +01:00
raid1.h
raid5-cache.c
raid5.c
md/raid5: fix oops during stripe resizing
2020-11-10 10:23:55 +01:00
raid5.h
raid10.c
md: Fix failed allocation of md_register_thread
2019-03-23 13:19:53 +01:00
raid10.h