[PATCH v3 1/1] dax: Fix stack overflow when mounting fsdax pmem device

2020-09-17 Thread Adrian Huang
From: Adrian Huang When mounting fsdax pmem device, commit 6180bb446ab6 ("dax: fix detection of dax support for non-persistent memory block devices") introduces the stack overflow [1][2]. Here is the call path for mounting ext4 file system: ext4_fill_super bdev_dax

[PATCH v2 1/1] dax: Fix stack overflow when mounting fsdax pmem device

2020-09-16 Thread Adrian Huang
From: Adrian Huang When mounting fsdax pmem device, commit 6180bb446ab6 ("dax: fix detection of dax support for non-persistent memory block devices") introduces the stack overflow [1][2]. Here is the call path for mounting ext4 file system: ext4_fill_super bdev_dax

[PATCH 1/1] dax: Fix stack overflow when mounting fsdax pmem device

2020-09-15 Thread Adrian Huang
From: Adrian Huang When mounting fsdax pmem device, commit 6180bb446ab6 ("dax: fix detection of dax support for non-persistent memory block devices") introduces the stack overflow [1][2]. Here is the call path for mounting ext4 file system: ext4_fill_super bdev_dax

[PATCH 1/1] dax: do not print error message for non-persistent memory block device

2020-08-19 Thread Adrian Huang
From: Adrian Huang From: Adrian Huang Commit 231609785cbf ("dax: print error message by pr_info() in __generic_fsdax_supported()") happens to print the following error message during booting when the non-persistent memory block devices are configured by device mapper. Those erro