Whamcloud - gitweb
LU-1842 quota: quota identifier unification
authorJohann Lombardi <johann@whamcloud.com>
Thu, 6 Sep 2012 12:50:25 +0000 (14:50 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 8 Sep 2012 07:25:05 +0000 (03:25 -0400)
commitca09276f2cb850d4dbd599c74a3e61873ffbc991
treea3387ed349c26cebb644701e832d86ef312ae04f
parent3e358040ae4b6fe8f28f20f8f1a07217d67d7e1a
LU-1842 quota: quota identifier unification

This patch defines a generic lquota_id structure which is an union
of all the possible identifier types that can be used with quota,
this includes:
- 64-bit user ID
- 64-bit group ID
- a FID which can be used for per-directory quota in the future

Signed-off-by: Johann Lombardi <johann@whamcloud.com>
Change-Id: Idead35f27ee9d07b9b25f39b791a1ad8778e0f2d
Reviewed-on: http://review.whamcloud.com/3888
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/lustre/lustre_idl.h
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c