Re: [Cluster-devel] [GFS2 PATCH] gfs2: fix bad inode i_goal values during block allocation

2014-09-19 Thread Steven Whitehouse
Hi, Now in the -nmw git tree. Thanks, Steve. On 19/09/14 03:40, Abhi Das wrote: This patch checks if i_goal is either zero or if doesn't exist within any rgrp (i.e gfs2_blk2rgrpd() returns NULL). If so, it assigns the ip-i_no_addr block as the i_goal. There are two scenarios where a bad

[Cluster-devel] [GFS2 PATCH] gfs2: fix bad inode i_goal values during block allocation

2014-09-18 Thread Abhi Das
This patch checks if i_goal is either zero or if doesn't exist within any rgrp (i.e gfs2_blk2rgrpd() returns NULL). If so, it assigns the ip-i_no_addr block as the i_goal. There are two scenarios where a bad i_goal can result in a -EBADSLT error. 1. Attempting to allocate to an existing inode: