Re: [PATCH v8 1/8] dax: Use percpu rwsem for dax_{read,write}_lock()

2021-10-31 Thread kernel test robot
Hi Shiyang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linux/master] [also build test WARNING on linus/master v5.15-rc7 next-20211029] [cannot apply to hnaz-mm/master xfs-linux/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note

Re: [PATCH v8 1/8] dax: Use percpu rwsem for dax_{read,write}_lock()

2021-10-31 Thread kernel test robot
Hi Shiyang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linux/master] [also build test WARNING on linus/master v5.15-rc7 next-20211029] [cannot apply to hnaz-mm/master xfs-linux/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note

[PATCH v8 1/8] dax: Use percpu rwsem for dax_{read,write}_lock()

2021-10-31 Thread Shiyang Ruan
In order to introduce dax holder registration, we need a write lock for dax. Change the current lock to percpu_rw_semaphore and introduce a dax write lock for registration. Signed-off-by: Shiyang Ruan --- drivers/dax/device.c | 11 drivers/dax/super.c| 51