gfs2: Extended attribute readahead
When gfs2 allocates an inode and its extended attribute block next to each other at inode create time, the inode's directory entry indicates that in de_rahead. In that case, we can readahead the extended attribute block when we read in the inode. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>
这个提交包含在:
@@ -388,7 +388,7 @@ static int bh_get(struct gfs2_quota_data *qd)
|
||||
error = gfs2_block_map(&ip->i_inode, block, &bh_map, 0);
|
||||
if (error)
|
||||
goto fail;
|
||||
error = gfs2_meta_read(ip->i_gl, bh_map.b_blocknr, DIO_WAIT, &bh);
|
||||
error = gfs2_meta_read(ip->i_gl, bh_map.b_blocknr, DIO_WAIT, 0, &bh);
|
||||
if (error)
|
||||
goto fail;
|
||||
error = -EIO;
|
||||
|
在新工单中引用
屏蔽一个用户