diff options
author | Ryan Ding <ryan.ding@oracle.com> | 2016-03-25 22:21:03 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-26 00:37:42 +0100 |
commit | 2de6a3c73180ef4071b45185756be51a6c767924 (patch) | |
tree | 294db5dbeeb4984016becae93432ea57e0fefc56 /fs/ocfs2/super.c | |
parent | ocfs2: do not change i_size in write_end for direct io (diff) | |
download | linux-2de6a3c73180ef4071b45185756be51a6c767924.tar.xz linux-2de6a3c73180ef4071b45185756be51a6c767924.zip |
ocfs2: return the physical address in ocfs2_write_cluster
To support direct io in ocfs2_write_begin_nolock & ocfs2_write_end_nolock.
Direct io needs to get the physical address from write_begin, to map the
user page. This patch is to change the arg 'phys' of
ocfs2_write_cluster to a pointer, so it can be retrieved to write_begin.
And we can retrieve it to the direct io procedure.
Signed-off-by: Ryan Ding <ryan.ding@oracle.com>
Reviewed-by: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions