Re: [PATCH] Fix balance Oops

2009-08-07 Thread Yan Zheng
On 08/07/2009 02:50 PM, Jens Axboe wrote: On Fri, Aug 07 2009, Yan Zheng wrote: invalidate_inode_pages2_range may return -EBUSY occasionally which results Oops. This patch fixes the issue by moving invalidate_inode_pages2_range into a loop and keeping calling it until the return value is not

Re: [PATCH] Fix balance Oops

2009-08-07 Thread Jens Axboe
On Fri, Aug 07 2009, Yan Zheng wrote: On 08/07/2009 02:50 PM, Jens Axboe wrote: On Fri, Aug 07 2009, Yan Zheng wrote: invalidate_inode_pages2_range may return -EBUSY occasionally which results Oops. This patch fixes the issue by moving invalidate_inode_pages2_range into a loop and keeping

Re: [PATCH] Fix balance Oops

2009-08-07 Thread Yan Zheng
On 08/07/2009 03:19 PM, Jens Axboe wrote: On Fri, Aug 07 2009, Yan Zheng wrote: On 08/07/2009 02:50 PM, Jens Axboe wrote: On Fri, Aug 07 2009, Yan Zheng wrote: invalidate_inode_pages2_range may return -EBUSY occasionally which results Oops. This patch fixes the issue by moving