| To: | Varun Shastry <vrn.shastry@xxxxxxxxx> |
|---|---|
| Subject: | Re: Project quota behaviour on hardlinks |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Tue, 27 Nov 2012 08:50:32 +1100 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <CAB+GMR8yU4LaU7EwXboKQLDsGGD0N6EuDT4CgxYLpVFPsROKXg@xxxxxxxxxxxxxx> |
| References: | <CAB+GMR8yU4LaU7EwXboKQLDsGGD0N6EuDT4CgxYLpVFPsROKXg@xxxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Mon, Nov 26, 2012 at 12:47:08PM +0530, Varun Shastry wrote: > Hello everyone, > > I wanted to know how project quota behaves on hardlinks when created in > different tree structures based on below 2 situations. Test it and see. > * Does it account twice if the file is hard linked in the same parent? Hard links are only accounted once to the owner of the inode. > * Does it account twice if the file is hard linked in a different tree > which is also set quota in other project? You can't hard link across directory tree quota boundaries - you'll get EXDEV. Similarly for rename across directory tree boundaries. Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 2/3] xfs: fix direct IO nested transaction deadlock., Dave Chinner |
|---|---|
| Next by Date: | [XFS updates] XFS development tree branch, master, updated. v3.7-rc1-74-g7c4cebe, xfs |
| Previous by Thread: | Project quota behaviour on hardlinks, Varun Shastry |
| Next by Thread: | Order, .SIMS GROUP |
| Indexes: | [Date] [Thread] [Top] [All Lists] |