summaryrefslogtreecommitdiffstats
path: root/fs/nfs/client.c
diff options
context:
space:
mode:
authorPeng Tao <bergwolf@gmail.com>2012-08-23 18:27:48 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-02 00:37:34 +0200
commit7acdb026818455638543b04b68d4a580c367fba8 (patch)
treea765a5fe13553aad3fc1aeb8c4e8685242654bde /fs/nfs/client.c
parentNFS: Add nfs4_unique_id boot parameter (diff)
downloadlinux-7acdb026818455638543b04b68d4a580c367fba8.tar.xz
linux-7acdb026818455638543b04b68d4a580c367fba8.zip
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>
Diffstat (limited to 'fs/nfs/client.c')
0 files changed, 0 insertions, 0 deletions