[GFS2] Patch to remove stats gathering from GFS2
Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
此提交包含在:
@@ -48,8 +48,6 @@ static struct page *gfs2_private_nopage(struct vm_area_struct *area,
|
||||
struct page *result;
|
||||
int error;
|
||||
|
||||
atomic_inc(&ip->i_sbd->sd_ops_vm);
|
||||
|
||||
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh);
|
||||
if (error)
|
||||
return NULL;
|
||||
@@ -149,8 +147,6 @@ static struct page *gfs2_sharewrite_nopage(struct vm_area_struct *area,
|
||||
int alloc_required;
|
||||
int error;
|
||||
|
||||
atomic_inc(&ip->i_sbd->sd_ops_vm);
|
||||
|
||||
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh);
|
||||
if (error)
|
||||
return NULL;
|
||||
|
新增問題並參考
封鎖使用者