Re: [PATCH] tmpfs: fix link accounting when a tmpfile is linked in

2019-02-18 Thread Hugh Dickins
On Tue, 19 Feb 2019, Al Viro wrote: > On Mon, Feb 18, 2019 at 09:37:52PM -0800, Hugh Dickins wrote: > > From: "Darrick J. Wong" > > > > tmpfs has a peculiarity of accounting hard links as if they were separate > > inodes: so that when the number of inodes is limited, as it is by default, > > a us

Re: [PATCH] tmpfs: fix link accounting when a tmpfile is linked in

2019-02-18 Thread Al Viro
On Mon, Feb 18, 2019 at 09:37:52PM -0800, Hugh Dickins wrote: > From: "Darrick J. Wong" > > tmpfs has a peculiarity of accounting hard links as if they were separate > inodes: so that when the number of inodes is limited, as it is by default, > a user cannot soak up an unlimited amount of unrecla

[PATCH] tmpfs: fix link accounting when a tmpfile is linked in

2019-02-18 Thread Hugh Dickins
From: "Darrick J. Wong" tmpfs has a peculiarity of accounting hard links as if they were separate inodes: so that when the number of inodes is limited, as it is by default, a user cannot soak up an unlimited amount of unreclaimable dcache memory just by repeatedly linking a file. But when v3.11