Peng Tao 7acdb02681 NFSv41: fix DIO write_io calculation
pnfs_within_mdsthreshold() is called inside pg_init. We need to set
read_io/write_io before that. Otherwise we fail pnfs_within_mdsthreshold()
and IO goes to MDS.
A simple test case:
dd if=foo of=/mnt/pnfs/bar bs=10M count=1 oflag=direct

Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2012-10-01 15:37:34 -07:00
..
2012-07-30 19:06:52 -04:00
2012-10-01 15:37:34 -07:00
2012-07-30 19:06:52 -04:00
2012-07-30 19:06:52 -04:00
2012-07-30 19:06:41 -04:00
2012-03-11 15:14:16 -04:00
2012-07-30 19:06:46 -04:00
2012-05-22 16:45:42 -04:00
2012-07-30 19:06:52 -04:00
2012-10-01 15:33:33 -07:00