From: Bob Peterson Date: Tue, 5 Apr 2016 13:05:00 -0400 (EDT) Subject: [Cluster-devel] [GFS2 PATCH] gfs2: Use gfs2 wrapper to sync inode before calling generic_file_splice_read() In-Reply-To: <1459281411-10068-1-git-send-email-adas@redhat.com> References: <1459281411-10068-1-git-send-email-adas@redhat.com> Message-ID: <253831555.47925488.1459875900949.JavaMail.zimbra@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ----- Original Message ----- > gfs2_file_splice_read() f_op grabs and releases the cluster-wide > inode glock to sync the inode size to the latest. > > Without this, generic_file_splice_read() uses an older i_size value > and can return EOF for valid offsets in the inode. > > Resolves: rhbz#1300756 > Signed-off-by: Abhi Das > --- Hi, Thanks. This is now applied to the for-next branch of the linux-gfs2 tree: https://git.kernel.org/cgit/linux/kernel/git/gfs2/linux-gfs2.git/commit/fs/gfs2?h=for-next&id=611526756a3d0fa7f4d1c519397ba8898f40443f Regards, Bob Peterson Red Hat File Systems