Displaying 1 result from an estimated 1 matches for "ocfs2_write_pag".
Did you mean:
ocfs2_write_page
2009 Feb 03
1
Problem with ordered mode handling on truncate
...at function is called from two
places:
1) ocfs2_truncate_for_delete() - easy to fix, just move the call just after
the write of the inode.
2) ocfs2_setattr() - we can move the call into ocfs2_truncate_file() but
that would mean calling jbd2_journal_begin_ordered_truncate()
and consequently ocfs2_write_page() under ip_alloc_sem - not too nice.
Furthermore ocfs2_orphan_for_truncate() zeros the last cluster
beyond i_size and we cannot do that before writing out previous
content... Not sure how to solve that yet.
Any ideas welcome.
Honza
--
Jan Kara <jack at suse.cz>
SUSE La...