diff options
author | Ryan Ding <ryan.ding@oracle.com> | 2016-03-25 14:21:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-25 16:37:42 -0700 |
commit | 2de6a3c73180ef4071b45185756be51a6c767924 (patch) | |
tree | 294db5dbeeb4984016becae93432ea57e0fefc56 /fs/ocfs2/inode.h | |
parent | 46e625565950c5f31a193c4bbcfdef3fdc7235bf (diff) | |
download | linux-2de6a3c73180ef4071b45185756be51a6c767924.tar.gz linux-2de6a3c73180ef4071b45185756be51a6c767924.tar.bz2 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 'fs/ocfs2/inode.h')
0 files changed, 0 insertions, 0 deletions