Chunwei Chen 9baaa7deae Linux 4.7 compat: use iterate_shared for concurrent readdir
Register iterate_shared if it exists so the kernel will used shared
lock and allowing concurrent readdir.

Also, use shared lock when doing llseek with SEEK_DATA or SEEK_HOLE
to allow concurrent seeking.

Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4664
Closes #4665
2016-05-20 11:09:16 -07:00
..
2010-08-31 13:41:27 -07:00
2011-04-19 10:10:47 -07:00
2012-10-14 13:06:48 -07:00
2015-12-07 12:20:43 -08:00
2013-03-18 15:33:17 -07:00
2010-08-31 13:41:27 -07:00
2016-03-16 13:46:16 -07:00
2016-03-16 13:46:16 -07:00
2016-03-09 10:39:22 -08:00
2016-04-28 09:27:40 -07:00
2016-03-18 13:31:11 -07:00
2016-03-18 13:31:11 -07:00
2016-04-28 09:27:40 -07:00