]> git.baikalelectronics.ru Git - kernel.git/commit
Orangefs: implement .write_iter
authorMike Marshall <hubcap@omnibond.com>
Wed, 13 Jan 2016 16:18:12 +0000 (11:18 -0500)
committerMike Marshall <hubcap@omnibond.com>
Wed, 13 Jan 2016 16:18:12 +0000 (11:18 -0500)
commitebf949452dcf6810ba44cd9b028c612d1f6c3d30
tree115db76621cfed00143b767a122431b2487464db
parent352eb391a086c6483dffe79644b3248930c86d6d
Orangefs: implement .write_iter

Until now, orangefs_devreq_write_iter has just been a wrapper for
the old-fashioned orangefs_devreq_writev... linux would call
.write_iter with "struct kiocb *iocb" and "struct iov_iter *iter"
and .write_iter would just:

        return pvfs2_devreq_writev(iocb->ki_filp,
                                   iter->iov,
                                   iter->nr_segs,
                                   &iocb->ki_pos);

Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/devorangefs-req.c