diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2013-11-01 14:52:06 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2013-11-04 11:17:07 +0000 |
commit | 9b9f039d570bddc1653cda2e38f4331dcacfcde5 (patch) | |
tree | 216432682f87903da14562212eebf056e6ca0091 /fs/gfs2/incore.h | |
parent | e66cf161098a634dc96e32d0089c5767cf25668a (diff) | |
download | linux-stable-9b9f039d570bddc1653cda2e38f4331dcacfcde5.tar.gz linux-stable-9b9f039d570bddc1653cda2e38f4331dcacfcde5.tar.bz2 linux-stable-9b9f039d570bddc1653cda2e38f4331dcacfcde5.zip |
GFS2: Use reflink for quota data cache
This patch adds reflink support to the quota data cache. It
looks a bit strange because we still don't have a sensible
split in the lookup by id and the lru list. That is coming in
later patches though.
The intent here is just to swap the current ref count for
reflinks in all cases with as little as possible other change.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Abhijith Das <adas@redhat.com>
Tested-by: Abhijith Das <adas@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index bb88e417231f..9d778044cc6e 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h @@ -422,7 +422,7 @@ struct gfs2_quota_data { struct list_head qd_list; struct list_head qd_reclaim; - atomic_t qd_count; + struct lockref qd_lockref; struct kqid qd_id; unsigned long qd_flags; /* QDF_... */ |