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>
This commit is contained in:
Steven Whitehouse
2013-11-01 14:52:06 -04:00
parent e66cf16109
commit 9b9f039d57
2 changed files with 29 additions and 15 deletions

View File

@@ -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_... */