commit | b42b15fdad3ebb790250041d1517acebb9bd56d9 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Apr 04 12:15:19 2014 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue May 06 17:39:44 2014 -0400 |
tree | dd273391e1cf117a0e5356c3b84aac6c5549deae | |
parent | 4908b822b300d2d7ad0341203181cfbd8a91092a [diff] |
lustre: get rid of messing with iovecs * switch to ->read_iter/->write_iter * keep a pointer to iov_iter instead of iov/nr_segs * do not modify iovecs; use iov_iter_truncate()/iov_iter_advance() and a new primitive - iov_iter_reexpand() (expand previously truncated iterator) istead. * (racy) check for lustre VMAs intersecting with iovecs kept for now as for_each_iov() loop. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>