GFS2: Use reflink for quota data cache
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/3 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 <[email protected]>
Cc Abhijith Das <[email protected]>
fs/gfs2/incore.h +2 -2
@@ -422,9 +422,9 @@ 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; +struct kqid qd_id;unsigned long qd_flags;/* QDF_... */ s64 qd_change;
fs/gfs2/quota.c +28 -14
102 lines not on this page · raw message