diff --git a/[refs] b/[refs] index 7edaf5cbae2c..384dd524bf9e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0effef776ff95b7a6d6e48a2ef407ecaa8c21f96 +refs/heads/master: e2057c5a63821e17c8a54dab6db680c77ce7ee6c diff --git a/trunk/fs/ocfs2/file.c b/trunk/fs/ocfs2/file.c index b499c329257b..1be74c4e7814 100644 --- a/trunk/fs/ocfs2/file.c +++ b/trunk/fs/ocfs2/file.c @@ -30,6 +30,7 @@ #include #include #include +#include #define MLOG_MASK_PREFIX ML_INODE #include @@ -691,6 +692,12 @@ static int ocfs2_zero_extend(struct inode *inode, } start_off += sb->s_blocksize; + + /* + * Very large extends have the potential to lock up + * the cpu for extended periods of time. + */ + cond_resched(); } out: