[Ocfs2-devel] [PATCH] ocfs2: send SIGXFSZ if new filesize exceeds limit

Wengang Wang wen.gang.wang at oracle.com
Thu Feb 25 08:29:19 PST 2010


Joel,

Yes that I considered using inode_newsize_ok().
I'am not sure if checking i_size is safe(lack of knowledge).

regards,
wengang.
On 10-02-25 08:11, Joel Becker wrote:
> On Thu, Feb 25, 2010 at 10:00:59PM +0800, Wengang Wang wrote:
> > This patch makes ocfs2 send SIGXFSZ if new file size exceeds limit.
> > No suprise that processes get SIGXFSZ on one node(in the cluster) while they
> > don't on another if file size limits are different on the two nodes.
> 
> 	Why aren't you using inode_newsize_ok()?
> 
> Joel



More information about the Ocfs2-devel mailing list