Merge tag 'dax-misc-for-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
Pull misc DAX updates from Vishal Verma: "DAX error handling for 4.7 - Until now, dax has been disabled if media errors were found on any device. This enables the use of DAX in the presence of these errors by making all sector-aligned zeroing go through the driver. - The driver (already) has the ability to clear errors on writes that are sent through the block layer using 'DSMs' defined in ACPI 6.1. Other misc changes: - When mounting DAX filesystems, check to make sure the partition is page aligned. This is a requirement for DAX, and previously, we allowed such unaligned mounts to succeed, but subsequent reads/writes would fail. - Misc/cleanup fixes from Jan that remove unused code from DAX related to zeroing, writeback, and some size checks" * tag 'dax-misc-for-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm: dax: fix a comment in dax_zero_page_range and dax_truncate_page dax: for truncate/hole-punch, do zeroing through the driver if possible dax: export a low-level __dax_zero_page_range helper dax: use sb_issue_zerout instead of calling dax_clear_sectors dax: enable dax in the presence of known media errors (badblocks) dax: fallback from pmd to pte on error block: Update blkdev_dax_capable() for consistency xfs: Add alignment check for DAX mount ext2: Add alignment check for DAX mount ext4: Add alignment check for DAX mount block: Add bdev_dax_supported() for dax mount checks block: Add vfs_msg() interface dax: Remove redundant inode size checks dax: Remove pointless writeback from dax_do_io() dax: Remove zeroing from dax_io() dax: Remove dead zeroing code from fault handlers ext2: Avoid DAX zeroing to corrupt data ext2: Fix block zeroing in ext2_get_blocks() for DAX dax: Remove complete_unwritten argument DAX: move RADIX_DAX_ definitions to dax.c
Showing
- Documentation/filesystems/dax.txt 32 additions, 0 deletionsDocumentation/filesystems/dax.txt
- arch/powerpc/sysdev/axonram.c 1 addition, 1 deletionarch/powerpc/sysdev/axonram.c
- block/ioctl.c 0 additions, 1 deletionblock/ioctl.c
- drivers/block/brd.c 1 addition, 1 deletiondrivers/block/brd.c
- drivers/nvdimm/pmem.c 9 additions, 1 deletiondrivers/nvdimm/pmem.c
- drivers/s390/block/dcssblk.c 2 additions, 2 deletionsdrivers/s390/block/dcssblk.c
- fs/block_dev.c 84 additions, 30 deletionsfs/block_dev.c
- fs/dax.c 63 additions, 194 deletionsfs/dax.c
- fs/ext2/file.c 2 additions, 2 deletionsfs/ext2/file.c
- fs/ext2/inode.c 6 additions, 6 deletionsfs/ext2/inode.c
- fs/ext2/super.c 2 additions, 9 deletionsfs/ext2/super.c
- fs/ext4/file.c 2 additions, 2 deletionsfs/ext4/file.c
- fs/ext4/super.c 2 additions, 9 deletionsfs/ext4/super.c
- fs/xfs/xfs_bmap_util.c 4 additions, 11 deletionsfs/xfs/xfs_bmap_util.c
- fs/xfs/xfs_file.c 3 additions, 4 deletionsfs/xfs/xfs_file.c
- fs/xfs/xfs_super.c 5 additions, 7 deletionsfs/xfs/xfs_super.c
- include/linux/blkdev.h 14 additions, 1 deletioninclude/linux/blkdev.h
- include/linux/dax.h 14 additions, 11 deletionsinclude/linux/dax.h
- include/linux/fs.h 0 additions, 1 deletioninclude/linux/fs.h
Please register or sign in to comment