Add alignment check for DAX mount
Subsystems (6)
v4 cover Add alignment check for DAX mount
When a partition is not aligned by 4KB, mount -o dax succeeds, but any read/write access to the filesystem fails, except for metadata update. Add alignment check to ext4, ext2, and xfs.
- Patch 1-2 add bdev_dax_supported() which performs all the checks necessary for dax mount.
- Patch 3-5 change fillesystems to call bdev_dax_supported().
- Patch 6 is a cleanup to keep dax capability checks consistent.
v4:
- blkdev_dax_capable() is similar to bdev_dax_supported(). Manage them consistently. (Dan Williams, Dave Chinner)
v3:
- Remove boilerplate code from filesytems (Christoph Hellwig)
- Add a helper function to perform all checks (Dave Chinner)
v2:
- Use a helper function via ->direct_access for the check. (Christoph Hellwig)
- Call bdev_direct_access() with sector 0 for the check. (Boaz Harrosh)
---
Toshi Kani (6):
1/6 block: Add vfs_msg() interface
2/6 block: Add bdev_dax_supported() for dax mount checks 3/6 ext4: Add alignment check for DAX mount
4/6 ext2: Add alignment check for DAX mount
5/6 xfs: Add alignment check for DAX mount
6/6 block: Update blkdev_dax_capable() for consistency
--- block/ioctl.c | 30 ---------------- fs/block_dev.c | 96 ++++++++++++++++++++++++++++++++++++++++++++++++-- fs/ext2/super.c | 11 ++---- fs/ext4/super.c | 11 ++---- fs/xfs/xfs_super.c | 12 +++---- include/linux/blkdev.h | 13 +++++++ include/linux/fs.h | 8 ----- 7 files changed, 116 insertions(+), 65 deletions(-)
PATCH v4 1/6 block: Add vfs_msg() interface
In preparation of moving DAX capability checks to the block layer from filesystem code, add a VFS message interface that aligns with filesystem's message format.
For instance, a vfs_msg() message followed by XFS messages in case of a dax mount error may look like:
VFS (pmem0p1): error: unaligned partition for dax
XFS (pmem0p1): DAX unsupported by block device. Turning off DAX. XFS (pmem0p1): Mounting V5 Filesystem
:
vfs_msg() is largely based on ext4_msg().
--- fs/block_dev.c | 12 ++++++++++++ include/linux/blkdev.h | 11 +++++++++++ 2 files changed, 23 insertions(+)
fs/block_dev.c +12 -0
@@ -50,6 +50,18 @@ struct block_device *I_BDEV(struct inode *inode) }EXPORT_SYMBOL (I_BDEV ); +void __vfs_msg (struct super_block *sb,const char *prefix,const char *fmt, ...) +{ +struct va_format vaf; +va_list args; + +va_start (args, fmt); + vaf.fmt = fmt; + vaf.va = &args; +printk_ratelimited ("%sVFS (%s): %pV\n" , prefix, sb->s_id, &vaf); +va_end (args); +} +static void bdev_write_inode (struct block_device *bdev) {struct inode *inode = bdev->bd_inode;
include/linux/blkdev.h +11 -0
@@ -767,6 +767,17 @@ static inline void rq_flush_dcache_pages(struct request *rq) }#endif +#ifdef CONFIG_PRINTK +#define vfs_msg (sb, level, fmt, ...) \ + __vfs_msg(sb, level, fmt, ##__VA_ARGS__) +#else +#define vfs_msg (sb, level, fmt, ...) \ +do { \ + no_printk(fmt, ##__VA_ARGS__); \ + __vfs_msg(sb, "", " "); \ +} while (0) +#endif +extern int blk_register_queue (struct gendisk *disk);extern void blk_unregister_queue (struct gendisk *disk);extern blk_qc_t generic_make_request (struct bio *bio);
PATCH v4 2/6 block: Add bdev_dax_supported() for dax mount checks
In reply to Toshi KaniDAX imposes additional requirements to a device. Add bdev_dax_supported() which performs all the precondition checks necessary for filesystem to mount the device with dax option.
Also add a new check to verify if a partition is aligned by 4KB. When a partition is unaligned, any dax read/write access fails, except for metadata update.
--- fs/block_dev.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ include/linux/blkdev.h | 1 + 2 files changed, 46 insertions(+)
fs/block_dev.c +45 -0
@@ -509,6 +509,51 @@ long bdev_direct_access(struct block_device *bdev, struct blk_dax_ctl *dax) }EXPORT_SYMBOL_GPL (bdev_direct_access); +/** +* bdev_dax_supported() - Check if the device supports dax for filesystem +* @sb: The superblock of the device +* @blocksize: The block size of the device +* +* This is a library function for filesystems to check if the block device +* can be mounted with dax option. +* +* Return: negative errno if unsupported, 0 if supported. +*/ +int bdev_dax_supported (struct super_block *sb,int blocksize) +{ +struct blk_dax_ctl dax = { + .sector =0 , + .size =PAGE_SIZE , + }; +int err; + +if (blocksize !=PAGE_SIZE ) { +vfs_msg (sb,KERN_ERR ,"error: unsupported blocksize for dax" ); +return -EINVAL ; + } + + err =bdev_direct_access (sb->s_bdev, &dax); +if (err <0 ) { +switch (err) { +case -EOPNOTSUPP : +vfs_msg (sb,KERN_ERR , +"error: device does not support dax" ); +break ; +case -EINVAL : +vfs_msg (sb,KERN_ERR , +"error: unaligned partition for dax" ); +break ; +default : +vfs_msg (sb,KERN_ERR , +"error: dax access failed (%d)" , err); + } +return err; + } + +return 0 ; +} +EXPORT_SYMBOL_GPL (bdev_dax_supported); +/* * pseudo-fs */
include/linux/blkdev.h +1 -0
@@ -1688,6 +1688,7 @@ extern int bdev_read_page(struct block_device *, sector_t, struct page *);extern int bdev_write_page (struct block_device *,sector_t ,struct page *,struct writeback_control *);extern long bdev_direct_access (struct block_device *,struct blk_dax_ctl *); +extern int bdev_dax_supported (struct super_block *,int );#else /* CONFIG_BLOCK */ struct block_device ;
PATCH v4 3/6 ext4: Add alignment check for DAX mount
In reply to Toshi KaniWhen a partition is not aligned by 4KB, mount -o dax succeeds, but any read/write access to the filesystem fails, except for metadata update.
Call bdev_dax_supported() to perform proper precondition checks which includes this partition alignment check.
--- fs/ext4/super.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-)
fs/ext4/super.c +2 -9
@@ -3416,16 +3416,9 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) }if (sbi->s_mount_opt &EXT4_MOUNT_DAX ) { -if (blocksize !=PAGE_SIZE ) { -ext4_msg (sb,KERN_ERR , -"error: unsupported blocksize for dax" ); - goto failed_mount; - } -if (!sb->s_bdev->bd_disk->fops->direct_access) { -ext4_msg (sb,KERN_ERR , -"error: device does not support dax" ); + err =bdev_dax_supported (sb, blocksize); +if (err) goto failed_mount; - } }if (ext4_has_feature_encrypt (sb) && es->s_encryption_level) {
PATCH v4 4/6 ext2: Add alignment check for DAX mount
In reply to Toshi KaniWhen a partition is not aligned by 4KB, mount -o dax succeeds, but any read/write access to the filesystem fails, except for metadata update.
Call bdev_dax_supported() to perform proper precondition checks which includes this partition alignment check.
--- fs/ext2/super.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-)
fs/ext2/super.c +2 -9
@@ -922,16 +922,9 @@ static int ext2_fill_super(struct super_block *sb, void *data, int silent) blocksize =BLOCK_SIZE <<le32_to_cpu (sbi->s_es->s_log_block_size);if (sbi->s_mount_opt &EXT2_MOUNT_DAX ) { -if (blocksize !=PAGE_SIZE ) { -ext2_msg (sb,KERN_ERR , -"error: unsupported blocksize for dax" ); + err =bdev_dax_supported (sb, blocksize); +if (err) goto failed_mount; - } -if (!sb->s_bdev->bd_disk->fops->direct_access) { -ext2_msg (sb,KERN_ERR , -"error: device does not support dax" ); - goto failed_mount; - } }/* If the blocksize doesn't match, re-read the thing.. */
PATCH v4 5/6 xfs: Add alignment check for DAX mount
In reply to Toshi KaniWhen a partition is not aligned by 4KB, mount -o dax succeeds, but any read/write access to the filesystem fails, except for metadata update.
Call bdev_dax_supported() to perform proper precondition checks which includes this partition alignment check.
--- fs/xfs/xfs_super.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-)
fs/xfs/xfs_super.c +5 -7
@@ -1558,14 +1558,12 @@ xfs_fs_fill_super(if (mp->m_flags &XFS_MOUNT_DAX ) {xfs_warn (mp, -"DAX enabled. Warning: EXPERIMENTAL, use at your own risk" ); -if (sb->s_blocksize !=PAGE_SIZE ) { -xfs_alert (mp, -"Filesystem block size invalid for DAX Turning DAX off." ); - mp->m_flags &= ~XFS_MOUNT_DAX ; - }else if (!sb->s_bdev->bd_disk->fops->direct_access) { +"DAX enabled. Warning: EXPERIMENTAL, use at your own risk" ); + + error =bdev_dax_supported (sb, sb->s_blocksize); +if (error) {xfs_alert (mp, -"Block device does not support DAX Turning DAX off." ); +"DAX unsupported by block device. Turning off DAX." ); mp->m_flags &= ~XFS_MOUNT_DAX ; } }
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm
PATCH v4 6/6 block: Update blkdev_dax_capable() for consistency
In reply to Toshi Kaniblkdev_dax_capable() is similar to bdev_dax_supported(), but needs to remain as a separate interface for checking dax capability of a raw block device.
Rename and relocate blkdev_dax_capable() to keep them maintained consistently, and call bdev_direct_access() for the dax capability check.
There is no change in the behavior.
--- block/ioctl.c | 30 ------------------------------ fs/block_dev.c | 39 +++++++++++++++++++++++++++++++++++++-- include/linux/blkdev.h | 1 + include/linux/fs.h | 8 -------- 4 files changed, 38 insertions(+), 40 deletions(-)
block/ioctl.c +0 -30
@@ -4,7 +4,6 @@#include <linux/gfp.h> #include <linux/blkpg.h> #include <linux/hdreg.h> -#include <linux/badblocks.h> #include <linux/backing-dev.h> #include <linux/fs.h> #include <linux/blktrace_api.h>
@@ -407,35 +406,6 @@ static inline int is_unrecognized_ioctl(int ret) ret == -ENOIOCTLCMD ; } -#ifdef CONFIG_FS_DAX -bool blkdev_dax_capable (struct block_device *bdev) -{ -struct gendisk *disk = bdev->bd_disk; - -if (!disk->fops->direct_access) -return false; - -/* -* If the partition is not aligned on a page boundary, we can't -* do dax I/O to it. -*/ -if ((bdev->bd_part->start_sect % (PAGE_SIZE /512 )) - || (bdev->bd_part->nr_sects % (PAGE_SIZE /512 ))) -return false; - -/* -* If the device has known bad blocks, force all I/O through the -* driver / page cache. -* -* TODO: support finer grained dax error handling -*/ -if (disk->bb && disk->bb->count) -return false; - -return true; -} -#endif -static int blkdev_flushbuf (struct block_device *bdev,fmode_t mode,unsigned cmd,unsigned long arg) {
fs/block_dev.c +37 -2
@@ -29,6 +29,7 @@#include <linux/log2.h> #include <linux/cleancache.h> #include <linux/dax.h> +#include <linux/badblocks.h> #include <asm/uaccess.h> #include "internal.h"
@@ -554,6 +555,40 @@ int bdev_dax_supported(struct super_block *sb, int blocksize) }EXPORT_SYMBOL_GPL (bdev_dax_supported); +/** +* bdev_dax_capable() - Return if the raw device is capable for dax +* @bdev: The device for raw block device access +*/ +bool bdev_dax_capable (struct block_device *bdev) +{ +struct gendisk *disk = bdev->bd_disk; +struct blk_dax_ctl dax = { + .size =PAGE_SIZE , + }; + +if (!IS_ENABLED (CONFIG_FS_DAX )) +return false; + + dax.sector =0 ; +if (bdev_direct_access (bdev, &dax) <0 ) +return false; + + dax.sector = bdev->bd_part->nr_sects - (PAGE_SIZE /512 ); +if (bdev_direct_access (bdev, &dax) <0 ) +return false; + +/* +* If the device has known bad blocks, force all I/O through the +* driver / page cache. +* +* TODO: support finer grained dax error handling +*/ +if (disk->bb && disk->bb->count) +return false; + +return true; +} +/* * pseudo-fs */
@@ -1295,7 +1330,7 @@ static int __blkdev_get(struct block_device *bdev, fmode_t mode, int for_part)if (!ret) {bd_set_size (bdev,(loff_t )get_capacity (disk)<<9 ); -if (!blkdev_dax_capable (bdev)) +if (!bdev_dax_capable (bdev)) bdev->bd_inode->i_flags &= ~S_DAX ; }
@@ -1332,7 +1367,7 @@ static int __blkdev_get(struct block_device *bdev, fmode_t mode, int for_part) goto out_clear; }bd_set_size (bdev, (loff_t )bdev->bd_part->nr_sects <<9 ); -if (!blkdev_dax_capable (bdev)) +if (!bdev_dax_capable (bdev)) bdev->bd_inode->i_flags &= ~S_DAX ; } }else {
include/linux/blkdev.h +1 -0
@@ -1689,6 +1689,7 @@ extern int bdev_write_page(struct block_device *, sector_t, struct page *, struct writeback_control *);extern long bdev_direct_access (struct block_device *,struct blk_dax_ctl *);extern int bdev_dax_supported (struct super_block *,int ); +extern bool bdev_dax_capable (struct block_device *);#else /* CONFIG_BLOCK */ struct block_device ;
include/linux/fs.h +0 -8
@@ -2320,14 +2320,6 @@ extern struct super_block *freeze_bdev(struct block_device *);extern void emergency_thaw_all (void );extern int thaw_bdev (struct block_device *bdev,struct super_block *sb);extern int fsync_bdev (struct block_device *); -#ifdef CONFIG_FS_DAX -extern bool blkdev_dax_capable (struct block_device *bdev); -#else -static inline bool blkdev_dax_capable (struct block_device *bdev) -{ -return false; -} -#endif extern struct super_block *blockdev_superblock;
Re: [PATCH v4 6/6] block: Update blkdev_dax_capable() for consistency
Quoted 62 lines · Toshi Kani
blkdev_dax_capable()is similar tobdev_dax_supported(), but needs to remain as a separate interface for checking dax capability of a raw block device.Rename and relocate
blkdev_dax_capable()to keep them maintained consistently, and callbdev_direct_access()for the dax capability check.There is no change in the behavior.
Signed-off-by Toshi Kani <[email protected]>Cc Alexander Viro <[email protected]>Cc Jens Axboe <[email protected]>Cc Andreas Dilger <[email protected]>Cc Jan Kara <[email protected]>Cc Dave Chinner <[email protected]>Cc Dan Williams <[email protected]>Cc Ross Zwisler <[email protected]>Cc Christoph Hellwig <[email protected]>Cc Boaz Harrosh <[email protected]>--- block/ioctl.c | 30 ------------------------------ fs/block_dev.c | 39 +++++++++++++++++++++++++++++++++++++-- include/linux/blkdev.h | 1 + include/linux/fs.h | 8 -------- 4 files changed, 38 insertions(+), 40 deletions(-)block/ioctl.c +0
-19@@ -4,7 +4,6 @@#include <linux/gfp.h> #include <linux/blkpg.h> #include <linux/hdreg.h> -#include <linux/badblocks.h> #include <linux/backing-dev.h> #include <linux/fs.h> #include <linux/blktrace_api.h> @@ -407,35 +406,6 @@ static inline int is_unrecognized_ioctl(int ret) ret == -ENOIOCTLCMD ; } -#ifdef CONFIG_FS_DAX -bool blkdev_dax_capable (struct block_device *bdev) -{ -struct gendisk *disk = bdev->bd_disk; - -if (!disk->fops->direct_access) -return false; - -/* -* If the partition is not aligned on a page boundary, we can't -* do dax I/O to it. -*/ -if ((bdev->bd_part->start_sect % (PAGE_SIZE /512 )) - || (bdev->bd_part->nr_sects % (PAGE_SIZE /512 ))) -return false; - -/* -* If the device has known bad blocks, force all I/O through the
block/ioctl.c static inline int is_unrecognized_ioctl(int ret) · line 437
Quoted 10 lines
block/ioctl.c +0
-10-* driver / page cache. -* -* TODO: support finer grained dax error handling -*/ -if (disk->bb && disk->bb->count) -return false; - - return true; -} -#endif
This will collide with my pending change to revert raw block device dax support, and also with Vishal's DAX error handling changes. For coordination purposes I'm thining this should all go on top of the branch that Vishal is putting together with the dax zeroing changes from Jan and Christoph as well.
Re: [PATCH v4 6/6] block: Update blkdev_dax_capable() for consistency
Quoted 11 lines · Dan Williams
Quoted 10 lines · Toshi Kani
blkdev_dax_capable()is similar tobdev_dax_supported(), but needs to remain as a separate interface for checking dax capability of a raw block device.Rename and relocate
blkdev_dax_capable()to keep them maintained consistently, and callbdev_direct_access()for the dax capability check.There is no change in the behavior.
:
Quoted 44 lines
Quoted 44 lines
block/ioctl.c +0
-19@@ -4,7 +4,6 @@ #include <linux/gfp.h> #include <linux/blkpg.h> #include <linux/hdreg.h> -#include <linux/badblocks.h> #include <linux/backing-dev.h> #include <linux/fs.h> #include <linux/blktrace_api.h>@@ -407,35 +406,6 @@ static inline int is_unrecognized_ioctl(int ret) ret == -ENOIOCTLCMD; } -#ifdef CONFIG_FS_DAX -bool blkdev_dax_capable (struct block_device *bdev) -{ - struct gendisk *disk = bdev->bd_disk; - - if (!disk->fops->direct_access) - return false; - - /* - * If the partition is not aligned on a page boundary, we can't - * do dax I/O to it. - */ - if ((bdev->bd_part->start_sect % (PAGE_SIZE / 512)) - || (bdev->bd_part->nr_sects % (PAGE_SIZE / 512))) - return false; - - /* -* If the device has known bad blocks, force all I/O through the
- * driver / page cache.
- *
- * TODO: support finer grained dax error handling - */
- if (disk->bb&&disk->bb->count)
- return false;
-
- return true;
Quoted 8 lines
block/ioctl.c
Quoted 2 lines
block/ioctl.c +0
-2-} -#endif This will collide with my pending change to revert raw block device dax support, and also with Vishal's DAX error handling changes. For coordination purposes I'm thining this should all go on top of the branch that Vishal is putting together with the dax zeroing changes from Jan and Christoph as well.
This patch does not depend on the rest of the series, so it can be handled separately. There is a minor conflict -- bdev_dax_capable() is put under bdev_dax_supported() in the same file. This should be easy to resolve, but let me know if you need me to merge it up.
Thanks,
-Toshi
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm
Jan Kara
reviewerRe: [PATCH v4 6/6] block: Update blkdev_dax_capable() for consistency
In reply to Toshi KaniQuoted 7 lines · Toshi Kani
blkdev_dax_capable()is similar tobdev_dax_supported(), but needs to remain as a separate interface for checking dax capability of a raw block device.Rename and relocate
blkdev_dax_capable()to keep them maintained consistently, and callbdev_direct_access()for the dax capability check.
...
fs/block_dev.c int bdev_dax_supported(struct super_block *sb, int blocksize) · line 570
Quoted 9 lines
fs/block_dev.c +9
-0+bool bdev_dax_capable (struct block_device *bdev) +{ +struct gendisk *disk = bdev->bd_disk; +struct blk_dax_ctl dax = { + .size =PAGE_SIZE , + }; + +if (!IS_ENABLED (CONFIG_FS_DAX )) +return false;
Frankly, I prefer the #ifdef CONFIG_FS_DAX and just compile the code out when DAX is not enabled (like it was with blkdev_dax_capable()). That way we don't grow the kernel for people who don't care about DAX.
Honza
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR
Re: [PATCH v4 6/6] block: Update blkdev_dax_capable() for consistency
Quoted 11 lines · Jan Kara
Quoted 8 lines · Toshi Kani
blkdev_dax_capable()is similar tobdev_dax_supported(), but needs to remain as a separate interface for checking dax capability of a raw block device.Rename and relocate
blkdev_dax_capable()to keep them maintained consistently, and callbdev_direct_access()for the dax capability check....
Quoted 1 line
Quoted 13 lines
fs/block_dev.c int bdev_dax_supported(struct super_block *sb, int blocksize) · line 570
Quoted 9 lines
fs/block_dev.c +9
-0+bool bdev_dax_capable (struct block_device *bdev) +{ +struct gendisk *disk = bdev->bd_disk; +struct blk_dax_ctl dax = { + .size =PAGE_SIZE , + }; + +if (!IS_ENABLED (CONFIG_FS_DAX )) +return false;Frankly, I prefer the #ifdef
CONFIG_FS_DAXand just compile the code out when DAX is not enabled (like it was withblkdev_dax_capable()). That way we don't grow the kernel for people who don't care about DAX.
When CONFIG_FS_DAX is not set, the rest of the code is optimized out. So, I think the code size is the same.
(gdb) disas bdev_dax_capable
Dump of assembler code for function bdev_dax_capable:
0xffffffff81260d20 <+0>: callq 0xffffffff81813c30 <__fentry__> 0xffffffff81260d25 <+5>: push %rbp 0xffffffff81260d26 <+6>: xor %eax,%eax 0xffffffff81260d28 <+8>: mov %rsp,%rbp 0xffffffff81260d2b <+11>: pop %rbp 0xffffffff81260d2c <+12>: retq
End of assembler dump.
Thanks,
-Toshi
Re: [PATCH v4 6/6] block: Update blkdev_dax_capable() for consistency
Quoted 29 lines · Toshi Kani
Quoted 11 lines · Jan Kara
Quoted 8 lines · Toshi Kani
blkdev_dax_capable()is similar tobdev_dax_supported(), but needs to remain as a separate interface for checking dax capability of a raw block device.Rename and relocate
blkdev_dax_capable()to keep them maintained consistently, and callbdev_direct_access()for the dax capability check....
Quoted 1 line
Quoted 13 lines
fs/block_dev.c int bdev_dax_supported(struct super_block *sb, int blocksize) · line 570
Quoted 9 lines
fs/block_dev.c +9
-0+bool bdev_dax_capable (struct block_device *bdev) +{ +struct gendisk *disk = bdev->bd_disk; +struct blk_dax_ctl dax = { + .size =PAGE_SIZE , + }; + +if (!IS_ENABLED (CONFIG_FS_DAX )) +return false;Frankly, I prefer the #ifdef
CONFIG_FS_DAXand just compile the code out when DAX is not enabled (like it was withblkdev_dax_capable()). That way we don't grow the kernel for people who don't care about DAX.When
CONFIG_FS_DAXis not set, the rest of the code is optimized out. �So, I think the code size is the same.
Quoted 9 lines
(gdb) disas
bdev_dax_capable
Dump of assembler code for functionbdev_dax_capable:
���0xffffffff81260d20 <+0>:�����callq��0xffffffff81813c30 <__fentry__> ���0xffffffff81260d25 <+5>:�����push���%rbp ���0xffffffff81260d26 <+6>:�����xor����%eax,%eax ���0xffffffff81260d28 <+8>:�����mov����%rsp,%rbp ���0xffffffff81260d2b <+11>:����pop����%rbp ���0xffffffff81260d2c <+12>:����retq���
End of assembler dump.
Ah, good. So feel free to add:
Honza
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR
Re: [PATCH v4 6/6] block: Update blkdev_dax_capable() for consistency
In reply to Toshi KaniQuoted 103 lines · Toshi Kani
blkdev_dax_capable()is similar tobdev_dax_supported(), but needs to remain as a separate interface for checking dax capability of a raw block device.Rename and relocate
blkdev_dax_capable()to keep them maintained consistently, and callbdev_direct_access()for the dax capability check.There is no change in the behavior.
Signed-off-by Toshi Kani <[email protected]>Cc Alexander Viro <[email protected]>Cc Jens Axboe <[email protected]>Cc Andreas Dilger <[email protected]>Cc Jan Kara <[email protected]>Cc Dave Chinner <[email protected]>Cc Dan Williams <[email protected]>Cc Ross Zwisler <[email protected]>Cc Christoph Hellwig <[email protected]>Cc Boaz Harrosh <[email protected]>--- block/ioctl.c | 30 ------------------------------ fs/block_dev.c | 39 +++++++++++++++++++++++++++++++++++++-- include/linux/blkdev.h | 1 + include/linux/fs.h | 8 -------- 4 files changed, 38 insertions(+), 40 deletions(-)block/ioctl.c +0
-30@@ -4,7 +4,6 @@#include <linux/gfp.h> #include <linux/blkpg.h> #include <linux/hdreg.h> -#include <linux/badblocks.h> #include <linux/backing-dev.h> #include <linux/fs.h> #include <linux/blktrace_api.h> @@ -407,35 +406,6 @@ static inline int is_unrecognized_ioctl(int ret) ret == -ENOIOCTLCMD ; } -#ifdef CONFIG_FS_DAX -bool blkdev_dax_capable (struct block_device *bdev) -{ -struct gendisk *disk = bdev->bd_disk; - -if (!disk->fops->direct_access) -return false; - -/* -* If the partition is not aligned on a page boundary, we can't -* do dax I/O to it. -*/ -if ((bdev->bd_part->start_sect % (PAGE_SIZE /512 )) - || (bdev->bd_part->nr_sects % (PAGE_SIZE /512 ))) -return false; - -/* -* If the device has known bad blocks, force all I/O through the -* driver / page cache. -* -* TODO: support finer grained dax error handling -*/ -if (disk->bb && disk->bb->count) -return false; - -return true; -} -#endif -static int blkdev_flushbuf (struct block_device *bdev,fmode_t mode,unsigned cmd,unsigned long arg) {fs/block_dev.c +12
-0@@ -29,6 +29,7 @@#include <linux/log2.h> #include <linux/cleancache.h> #include <linux/dax.h> +#include <linux/badblocks.h> #include <asm/uaccess.h> #include "internal.h" @@ -554,6 +555,40 @@ int bdev_dax_supported(struct super_block *sb, int blocksize) }EXPORT_SYMBOL_GPL (bdev_dax_supported); +/** +* bdev_dax_capable() - Return if the raw device is capable for dax +* @bdev: The device for raw block device access +*/ +bool bdev_dax_capable (struct block_device *bdev) +{ +struct gendisk *disk = bdev->bd_disk; +struct blk_dax_ctl dax = { + .size =PAGE_SIZE , + }; +
fs/block_dev.c int bdev_dax_supported(struct super_block *sb, int blocksize) · line 578
Quoted 10 lines
fs/block_dev.c +10
-0+if (!IS_ENABLED (CONFIG_FS_DAX )) +return false; + + dax.sector =0 ; +if (bdev_direct_access (bdev, &dax) <0 ) +return false; + + dax.sector = bdev->bd_part->nr_sects - (PAGE_SIZE /512 ); +if (bdev_direct_access (bdev, &dax) <0 ) +return false;
So I just noticed that this new implementation of bdev_dax_capable() prevents us from enabling DAX in the presence of errors, which was the goal of Vishal's pending patches for 4.7.
I like the goal of centralizing checks, but this collides the base DAX capability with the ability to perform an actual accesses at a given address.
All the immediate solutions that come to mind right now are pretty ugly, like an ignore errors flag...
Hmm, what about explicitly returning -EBADBLOCK and updating size to return the offset of the error? That might be useful information to have in general...
Re: [PATCH v4 6/6] block: Update blkdev_dax_capable() for consistency
Quoted 6 lines · Dan Williams
Quoted 5 lines · Toshi Kani
blkdev_dax_capable()is similar tobdev_dax_supported(), but needs to remain as a separate interface for checking dax capability of a raw block device.
Quoted 6 lines
Quoted 6 lines
Rename and relocate
blkdev_dax_capable()to keep them maintained consistently, and callbdev_direct_access()for the dax capability check.There is no change in the behavior.
:
Quoted 30 lines
Quoted 11 lines
fs/block_dev.c +11
-0+/** +* bdev_dax_capable() - Return if the raw device is capable for dax +* @bdev: The device for raw block device access +*/ +bool bdev_dax_capable (struct block_device *bdev) +{ + struct gendisk *disk = bdev->bd_disk; + struct blk_dax_ctl dax = { + .size = PAGE_SIZE, + }; +fs/block_dev.c int bdev_dax_supported(struct super_block *sb, int blocksize) · line 578
Quoted 10 lines
fs/block_dev.c +10
-0+ if (!IS_ENABLED(CONFIG_FS_DAX)) + return false; + + dax.sector = 0; + if (bdev_direct_access(bdev, &dax) < 0) + return false; + + dax.sector = bdev->bd_part->nr_sects - (PAGE_SIZE / 512); + if (bdev_direct_access(bdev, &dax) < 0) + return false;So I just noticed that this new implementation of
bdev_dax_capable()prevents us from enabling DAX in the presence of errors, which was the goal of Vishal's pending patches for 4.7.I like the goal of centralizing checks, but this collides the base DAX capability with the ability to perform an actual accesses at a given address.
Quoted 6 lines
All the immediate solutions that come to mind right now are pretty ugly, like an ignore errors flag...
Hmm, what about explicitly returning
-EBADBLOCKand updating size to return the offset of the error? That might be useful information to have in general...
The function only checks a PAGE_SIZE range at the start and the end, but I agree that it can handle -EBADBLOCK (or -EIO) from bdev_direct_access() as an error but the device is DAX-capable. bdev_dax_supported() may need the same change as well (although I wonder how a bad block at the start is handled). Shall I send you a patch for this change? (BTW, do we have a patch that defines EBADBLOCK already?) I think the error offset would be useful, but that change can be made when we use it.
Thanks,
-Toshi
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm
PATCH 1/1 remove unused blkdev_dax_capable() function
In reply to Toshi KaniThe change from blkdev_dax_capable() to bdev_dax_capable() removed the only user of the former, so we now get a build warning:
fs/block_dev.c:1244:13: error: 'blkdev_dax_capable' defined but not used [-Werror=unused-function]
static bool blkdev_dax_capable(struct block_device *bdev)
This removes the now-unused function.
---
Review static int __blkdev_get(struct block_device *bdev, fmode_t mode, int for_part) · line 1335
Quoted 8 lines · On Tuesday 10 May 2016 10:23:57 Toshi Kani wrote:
(quoted diff) +1
-1@@ -1295,7 +1330,7 @@ static int __blkdev_get(struct block_device *bdev, fmode_t mode, int for_part) if (!ret) { bd_set_size(bdev,(loff_t)get_capacity(disk)<<9); - if (!blkdev_dax_capable(bdev)) + if (!bdev_dax_capable(bdev)) bdev->bd_inode->i_flags &= ~S_DAX;
It's not entirely from the patch description what the intention was here in keeping two slightly different implementations of the same function in one file, my best guess is that it was not intentional and we should just remove this.
fs/block_dev.c +0 -27
@@ -1241,33 +1241,6 @@ void bd_set_size(struct block_device *bdev, loff_t size) }EXPORT_SYMBOL (bd_set_size); -static bool blkdev_dax_capable (struct block_device *bdev) -{ -struct gendisk *disk = bdev->bd_disk; - -if (!disk->fops->direct_access || !IS_ENABLED (CONFIG_FS_DAX )) -return false; - -/* -* If the partition is not aligned on a page boundary, we can't -* do dax I/O to it. -*/ -if ((bdev->bd_part->start_sect % (PAGE_SIZE /512 )) - || (bdev->bd_part->nr_sects % (PAGE_SIZE /512 ))) -return false; - -/* -* If the device has known bad blocks, force all I/O through the -* driver / page cache. -* -* TODO: support finer grained dax error handling -*/ -if (disk->bb && disk->bb->count) -return false; - -return true; -} -static void __blkdev_put (struct block_device *bdev,fmode_t mode,int for_part);/*
Re: [PATCH] remove unused blkdev_dax_capable() function
Quoted 7 lines · Arnd Bergmann
The change from
blkdev_dax_capable()tobdev_dax_capable()removed the only user of the former, so we now get a build warning:
fs/block_dev.c:1244:13: error: 'blkdev_dax_capable' defined but not used [-Werror=unused-function]
static boolblkdev_dax_capable(struct block_device *bdev)
Quoted 5 lines
This removes the now-unused function.
Signed-off-by Arnd Bergmann <[email protected]>Fixes a8078b1fc616 ("block: Update blkdev_dax_capable() forconsistency")
:
Quoted 4 lines
It's not entirely from the patch description what the intention was here in keeping two slightly different implementations of the same function in one file, my best guess is that it was not intentional and we should just remove this.
Thanks for the build fix. Looks like there was a conflict between 8044aae6f374 and a8078b1fc616d, which resulted this build error. Both patches moved blkdev_dax_capable() from block/ioctl.c to fs/block_dev.c.
Thanks,
-Toshi
Vishal Verma
maintainerRe: [PATCH] remove unused blkdev_dax_capable() function
In reply to Arnd BergmannQuoted 14 lines · Arnd Bergmann
The change from
blkdev_dax_capable()tobdev_dax_capable()removed the only user of the former, so we now get a build warning:
fs/block_dev.c:1244:13: error: 'blkdev_dax_capable' defined but not used [-Werror=unused-function]
static boolblkdev_dax_capable(struct block_device *bdev)This removes the now-unused function.
Signed-off-by Arnd Bergmann <[email protected]>Fixes a8078b1fc616 ("block: Update blkdev_dax_capable() for consistency")---
Quoted 2 lines · On Tuesday 10 May 2016 10:23:57 Toshi Kani wrote:
(quoted diff) +0
-0@@ -1295,7 +1330,7 @@ static int __blkdev_get(struct block_device *bdev, fmode_t mode, int for_part)
Quoted 12 lines
Review static int __blkdev_get(struct block_device *bdev, fmode_t mode, int for_part) · line 1335
Quoted 6 lines
(quoted diff) +1
-1if (!ret) { bd_set_size(bdev,(loff_t)get_capacity(disk)<<9); - if (!blkdev_dax_capable(bdev)) + if (!bdev_dax_capable(bdev)) bdev->bd_inode->i_flags &= ~S_DAX;It's not entirely from the patch description what the intention was here in keeping two slightly different implementations of the same function in one file, my best guess is that it was not intentional and we should just remove this.
Good catch - like Toshi said, this was indeed a mis-merge.
Stephen, for reference, I've added a branch with the expected conflict resolution at:
https://git.kernel.org/cgit/linux/kernel/git/nvdimm/nvdimm.git/ libnvdimm-for-4.7-merge
Thanks,
-Vishal
kbuild test robot
build botRe: [PATCH] remove unused blkdev_dax_capable() function
In reply to Arnd Bergmannurl: https://github.com/0day-ci/linux/commits/Arnd-Bergmann/remove-unused-blkdev_dax_capable-function/20160518-155729 config: m68k-allyesconfig (attached as .config) compiler: m68k-linux-gcc (GCC)…
Hi,
[auto build test ERROR on next-20160517]
[cannot apply to v4.6-rc7 v4.6-rc6 v4.6-rc5 v4.6]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Arnd-Bergmann/remove-unused-blkdev_dax_capable-function/20160518-155729
config: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=m68k
All errors (new ones prefixed by >>):
fs/block_dev.c: In function '__blkdev_get':
>> fs/block_dev.c:1242:5: error: implicit declaration of function 'blkdev_dax_capable' [-Werror=implicit-function-declaration]
if (!blkdev_dax_capable(bdev))
^cc1: some warnings being treated as errors
vim +/blkdev_dax_capable +1242 fs/block_dev.c
d3374825 NeilBrown 2009-01-09 1236 goto restart;
d3374825 NeilBrown 2009-01-09 1237 }
1196f8b8 Tejun Heo 2011-04-21 1238 }
7e69723f Tejun Heo 2011-05-23 1239
5a023cdb Dan Williams 2015-11-30 1240 if (!ret) {
7e69723f Tejun Heo 2011-05-23 1241 bd_set_size(bdev,(loff_t)get_capacity(disk)<<9);
5a023cdb Dan Williams 2015-11-30 @1242 if (!blkdev_dax_capable(bdev))
5a023cdb Dan Williams 2015-11-30 1243 bdev->bd_inode->i_flags &= ~S_DAX;
5a023cdb Dan Williams 2015-11-30 1244 }7e69723f Tejun Heo 2011-05-23 1245
:::::: The code at line 1242 was first introduced by commit
:::::: 5a023cdba50c5f5f2bc351783b3131699deb3937 block: enable dax for raw block devices
:::::: TO: Dan Williams <[email protected]> :::::: CC: Dan Williams <[email protected]>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Re: [PATCH] remove unused blkdev_dax_capable() function
RllJLCBmcy9ibG9ja19kZXYuYyBoYXMgbXVsdGlwbGUgdXBkYXRlcyBzaW5jZSB0aGVuIGluY2x1 ZGluZyB0aGUgY29kZSBpbg0KcXVlc3Rpb24uIEkganVzdCBidWlsdCB0b3QgLW5leHQgbTY0IGtl cm5lbCB3aXRoIHRoZSBhdHRhY2hlZCBjb25maWcgZmlsZSwNCmFuZCBjb25maXJtZWQgbm8gY29t cGlsZSBlcnJvciBvbiB0aGUgZmlsZS4NCi1Ub3NoaQ0KDQpPbiBGcmksIDIwMTYtMDUtMjAgYXQg MTk6MzIgKzA4MDAsIGtidWlsZCB0ZXN0IHJvYm90IHdyb3RlOg0KPiBIaSwNCj4gDQo+IFthdXRv IGJ1aWxkIHRlc3QgRVJST1Igb24gbmV4dC0yMDE2MDUxN10NCj4gW2Nhbm5vdCBhcHBseSB0byB2 NC42LXJjNyB2NC42LXJjNiB2NC42LXJj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xlKGJkZXYpKQ0K PiA1YTAyM2NkYiBEYW4gV2lsbGlhbXMgMjAxNS0xMS0zMMKgwqAxMjQzwqDCoAkJCQkJDQo+IGJk ZXYtPmJkX2lub2RlLT5pX2ZsYWdzICY9IH5TX0RBWDsNCj4gNWEwMjNjZGIgRGFuIFdpbGxpYW1z IDIwMTUtMTEtMzDCoMKgMTI0NMKgwqAJCQl9DQo+IDdlNjk3MjNmIFRlanVuIEhlb8KgwqDCoMKg MjAxMS0wNS0yM8KgwqAxMjQ1wqDCoA0KPiANCj4gOjo6Ojo6IFRoZSBjb2RlIGF0IGxpbmUgMTI0 MiB3YXMgZmlyc3QgaW50cm9kdWNlZCBieSBjb21taXQNCj4gOjo6Ojo6IDVhMDIzY2RiYTUwYzVm NWYyYmMzNTE3ODNiMzEzMTY5OWRlYjM5MzcgYmxvY2s6IGVuYWJsZSBkYXggZm9yIHJhdw0KPiBi bG9jayBkZXZpY2VzDQo+IA0KPiA6Ojo6OjogVE86IERhbiBXaWxsaWFtcyA8ZGFuLmoud2lsbGlh bXNAaW50ZWwuY29tPg0KPiA6Ojo6OjogQ0M6IERhbiBXaWxsaWFtcyA8ZGFuLmoud2lsbGlhbXNA aW50ZWwuY29tPg0KPiANCj4gLS0tDQo+IDAtREFZIGtlcm5lbCB0ZXN0IGluZnJhc3RydWN0dXJl wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqBPcGVuIFNvdXJjZSBUZWNobm9sb2d5DQo+ IENlbnRlcg0KPiBodHRwczovL2xpc3RzLjAxLm9yZy9waXBlcm1haWwva2J1aWxkLWFsbMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgSW50ZWwNCj4gQ29ycG9yYXRpb24=
Quoted 23 lines · Toshi Kani
When a partition is not aligned by 4KB, mount -o dax succeeds, but any read/write access to the filesystem fails, except for metadata update. Add alignment check to ext4, ext2, and xfs.
- Patch 1-2 add
bdev_dax_supported()which performs all the checks necessary for dax mount.
- Patch 3-5 change fillesystems to callbdev_dax_supported().
- Patch 6 is a cleanup to keep dax capability checks consistent.v4:
-blkdev_dax_capable()is similar tobdev_dax_supported(). Manage them consistently. (Dan Williams, Dave Chinner)v3:
- Remove boilerplate code from filesytems (Christoph Hellwig)
- Add a helper function to perform all checks (Dave Chinner)v2:
- Use a helper function via ->direct_access for the check. (Christoph Hellwig)
- Callbdev_direct_access()with sector 0 for the check. (Boaz Harrosh)
Quoted 9 lines
---
Toshi Kani (6):
1/6 block: Addvfs_msg()interface
2/6 block: Addbdev_dax_supported()for dax mount checks 3/6 ext4: Add alignment check for DAX mount
4/6 ext2: Add alignment check for DAX mount
5/6 xfs: Add alignment check for DAX mount
6/6 block: Updateblkdev_dax_capable()for consistency
Despite Jan's comment on patch 6, that I should agree, that checking DAX during compile time is better than at run time, all patches looks good to me, the conflicts with Dan's patches, also should not cause any semantics change of this patchset, you can add:
Cheers
Quoted 13 lines
--- block/ioctl.c | 30 ---------------- fs/block_dev.c | 96 ++++++++++++++++++++++++++++++++++++++++++++++++-- fs/ext2/super.c | 11 ++---- fs/ext4/super.c | 11 ++---- fs/xfs/xfs_super.c | 12 +++---- include/linux/blkdev.h | 13 +++++++ include/linux/fs.h | 8 ----- 7 files changed, 116 insertions(+), 65 deletions(-)--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 1 line
Carlos
Quoted 1 line · Toshi Kani
When a partition is not aligned by 4KB, mount -o dax succeeds,
Sorry for being late, but -
Shouldn't this and all subsequent patch commits refer to PAGE_SIZE, rather than "4kB?"
-Eric
T24gVGh1LCAyMDE2LTA1LTE5IGF0IDE4OjM3IC0wNTAwLCBFcmljIFNhbmRlZW4gd3JvdGU6DQo+ IE9uIDUvMTAvMTYgMTE6MjMgQU0sIFRvc2hpIEthbmkgd3JvdGU6DQo+ID4gDQo+ID4gV2hlbiBh IHBhcnRpdGlvbiBpcyBub3Qg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