Re: [PATCH 1/3] dax: Take shared lock in dax_do_io()

2016-06-09 Thread Christoph Hellwig
Please just take the extra step and move the locking out of dax_do_io and into the caller.

Re: [PATCH 1/3] dax: Take shared lock in dax_do_io()

2016-06-09 Thread Christoph Hellwig
Please just take the extra step and move the locking out of dax_do_io and into the caller.

[PATCH 1/3] dax: Take shared lock in dax_do_io()

2016-06-03 Thread Waiman Long
With the change from i_mutex to i_rwsem in 4.7 kernel, the locking scheme in dax_do_io() can now be changed to take a shared lock for read so that multiple readers can access the same file concurrently. With a 38-threads fio I/O test with 2 shared files (on DAX-mount, ext4 formatted NVDIMM)

[PATCH 1/3] dax: Take shared lock in dax_do_io()

2016-06-03 Thread Waiman Long
With the change from i_mutex to i_rwsem in 4.7 kernel, the locking scheme in dax_do_io() can now be changed to take a shared lock for read so that multiple readers can access the same file concurrently. With a 38-threads fio I/O test with 2 shared files (on DAX-mount, ext4 formatted NVDIMM)