Commit cd51e61e authored by Bob Peterson's avatar Bob Peterson Committed by Steven Whitehouse

GFS2: Eliminate gfs2_rg_lops

With recent changes to the transactions, it appears that we
are no longer using the "log ops" for resource groups. Since the
log commit code processes the array of log ops, eliminating this
should be marginally better for performance. Therefore this patch
eliminates it.
Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 7f63257d
...@@ -852,10 +852,6 @@ const struct gfs2_log_operations gfs2_revoke_lops = { ...@@ -852,10 +852,6 @@ const struct gfs2_log_operations gfs2_revoke_lops = {
.lo_name = "revoke", .lo_name = "revoke",
}; };
const struct gfs2_log_operations gfs2_rg_lops = {
.lo_name = "rg",
};
const struct gfs2_log_operations gfs2_databuf_lops = { const struct gfs2_log_operations gfs2_databuf_lops = {
.lo_before_commit = databuf_lo_before_commit, .lo_before_commit = databuf_lo_before_commit,
.lo_after_commit = databuf_lo_after_commit, .lo_after_commit = databuf_lo_after_commit,
...@@ -867,7 +863,6 @@ const struct gfs2_log_operations gfs2_databuf_lops = { ...@@ -867,7 +863,6 @@ const struct gfs2_log_operations gfs2_databuf_lops = {
const struct gfs2_log_operations *gfs2_log_ops[] = { const struct gfs2_log_operations *gfs2_log_ops[] = {
&gfs2_databuf_lops, &gfs2_databuf_lops,
&gfs2_buf_lops, &gfs2_buf_lops,
&gfs2_rg_lops,
&gfs2_revoke_lops, &gfs2_revoke_lops,
NULL, NULL,
}; };
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
extern const struct gfs2_log_operations gfs2_glock_lops; extern const struct gfs2_log_operations gfs2_glock_lops;
extern const struct gfs2_log_operations gfs2_buf_lops; extern const struct gfs2_log_operations gfs2_buf_lops;
extern const struct gfs2_log_operations gfs2_revoke_lops; extern const struct gfs2_log_operations gfs2_revoke_lops;
extern const struct gfs2_log_operations gfs2_rg_lops;
extern const struct gfs2_log_operations gfs2_databuf_lops; extern const struct gfs2_log_operations gfs2_databuf_lops;
extern const struct gfs2_log_operations *gfs2_log_ops[]; extern const struct gfs2_log_operations *gfs2_log_ops[];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment