diff options
author | Joseph Qi <joseph.qi@huawei.com> | 2015-02-17 01:00:00 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-17 02:56:05 +0100 |
commit | 24c40b329e03dd38a1ca2225c739db67f4441343 (patch) | |
tree | ac44a8faee0103987e75fd01885042745d645421 /mm/percpu.c | |
parent | ocfs2: add orphan recovery types in ocfs2_recover_orphans (diff) | |
download | linux-24c40b329e03dd38a1ca2225c739db67f4441343.tar.xz linux-24c40b329e03dd38a1ca2225c739db67f4441343.zip |
ocfs2: implement ocfs2_direct_IO_write
Implement ocfs2_direct_IO_write. Add the inode to orphan dir first, and
then delete it once append O_DIRECT finished.
This is to make sure block allocation and inode size are consistent.
[akpm@linux-foundation.org: fix it for "block: Add discard flag to blkdev_issue_zeroout() function"]
Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Weiwei Wang <wangww631@huawei.com>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Xuejiufei <xuejiufei@huawei.com>
Cc: alex chen <alex.chen@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/percpu.c')
0 files changed, 0 insertions, 0 deletions