<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">I’m planning to add a feature to lfs-quota (a relatively quick check for EDQUOT)<o:p></o:p></p>
<p class="MsoNormal">and I have some questions about how the new OST pool quota feature will change things<o:p></o:p></p>
<p class="MsoNormal">with regards to how the quota system works internally and how the lfs-quota options will change.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">For how the system actually works internally:<o:p></o:p></p>
<p class="MsoNormal">The struct lquota_entry (lqe) now has 2 edquot flags,  lqe_edquot and lge_edquot.<o:p></o:p></p>
<p class="MsoNormal">Does lqe_edquot still represent the QMT’s current knowledge about whether or not<o:p></o:p></p>
<p class="MsoNormal">an entity has exceeded a quota for the pool associated with the lqe, or do the
<o:p></o:p></p>
<p class="MsoNormal">lge_edquot flags need to be checked as well to make this determination?
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">For how lfs-quota works:<o:p></o:p></p>
<p class="MsoNormal">There is now a –pool option. Can this flag be used in conjunction with the default value flags<o:p></o:p></p>
<p class="MsoNormal">(-U|-G|-P)? Such as<o:p></o:p></p>
<p class="MsoNormal">lfs quota -U –pool qpool1 /mnt/lustre<o:p></o:p></p>
<p class="MsoNormal">To check the default user quota values for OST pool qpool1?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ll need to update lfs-quota.1, lfs-setquota.1, and the lfs.c help section for my feature, but since<o:p></o:p></p>
<p class="MsoNormal">the flag I add will have to interact with the –pool flag in some cases, I also need to update those files<o:p></o:p></p>
<p class="MsoNormal">for the OST pool quotas. Is that already happening? I see that there’s LUDOC-467 to add OST pool quotas to the manual.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Gian-Carlo DeFazio<o:p></o:p></p>
</div>
</body>
</html>