- Userland expects quota limit/warn/usage in 512b blocks
Userland programs using the quotactl() syscall assume limit/warn/usage block counts in 512b basic blocks which were instead being read/written in fs blocksize in gfs2. With this patch, gfs2 correctly interacts with the syscall using 512b blocks.
Signed-off-by: Abhi Das <adas@redhat.com>
11-19-2010, 09:31 AM
Christoph Hellwig
- Userland expects quota limit/warn/usage in 512b blocks
On Thu, Nov 18, 2010 at 11:24:24AM -0500, Abhijith Das wrote:
> Userland programs using the quotactl() syscall assume limit/warn/usage block counts in 512b basic blocks which were instead being read/written in fs blocksize in gfs2. With this patch, gfs2 correctly interacts with the syscall using 512b blocks.
Oops, thanks for fixing this up.
Reviewed-by: Christoph Hellwig <hch@lst.de>
11-19-2010, 10:35 AM
Steven Whitehouse
- Userland expects quota limit/warn/usage in 512b blocks
Hi,
On Thu, 2010-11-18 at 11:24 -0500, Abhijith Das wrote:
> Userland programs using the quotactl() syscall assume limit/warn/usage block counts in 512b basic blocks which were instead being read/written in fs blocksize in gfs2. With this patch, gfs2 correctly interacts with the syscall using 512b blocks.
>
> Signed-off-by: Abhi Das <adas@redhat.com>