diff options
author | Peng Tao <bergwolf@gmail.com> | 2012-09-25 06:55:57 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-10-08 23:32:22 (GMT) |
commit | 6296556f0b31eaff29f2a3aee2c17b7eae895b98 (patch) | |
tree | 19f39cac9cff045e8c753ab8908deadc1c9c6bab /lib/fdt_rw.c | |
parent | 35754bc00e94e598c432ad02f7a3d3063c4402e3 (diff) | |
download | linux-fsl-qoriq-6296556f0b31eaff29f2a3aee2c17b7eae895b98.tar.xz |
NFS41: send real write size in layoutget
For buffer write, block layout client scan inode mapping to find
next hole and use offset-to-hole as layoutget length. Object
layout client uses offset-to-isize as layoutget length.
For direct write, both block layout and object layout use dreq->bytes_left.
Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'lib/fdt_rw.c')
0 files changed, 0 insertions, 0 deletions