Quotas in reiserfs

2000-07-23 Thread Jan Kara
Hello. So I've finally written quotas for reiserfs (sorry it took so long). First I have few notes about things I think might be bugs in reiserfs: i_blksize initialized twice in reiserfs_new_inode() - PAGE_SIZE should be right. i_nlink should be set to 0 when we fail in

Reiserfs quota

2000-07-23 Thread Jan Kara
Hello. There is mistake in address of patches (in directory). It's: ftp://atrey.karlin.mff.cuni.cz/pub/local/jack/quota/ Honza

[RFC] Quotafile format

2000-07-20 Thread Jan Kara
/local/jack/quota/v2.4/ and utilities working with new format at: ftp://atrey.karlin.mff.cuni.cz/pub/local/jack/quota/utils/ Thanks for ideas Jan Kara

Pagecache and inodecache bug in 2.3.33

1999-12-20 Thread Jan Kara
Hello. I've found one bug in pagecache - in end_buffer_io_async() we badly detect when we should unlock the page. We check whether all buffers with end_buffer_io _async() handlers have use count 0. But for example in sync_buffers() we do wait_on_buffer() which will raise b_count and so if

Re: how to write get_block?

1999-10-04 Thread Jan Kara
I'm porting my HPFS driver to 2.3.18 and I don't know how to write get_block properly. When user does lseek(far beyond file end) and write(), get_block must allocate a lot of sectors and clear them (HPFS doesn't support holes). The question is: what call should I use to clear these sectors?

Re: Bugs in quota code (long) (new)

1999-04-24 Thread Jan Kara
This is bogus: + error = dentry-d_inode-i_sb-dq_op-transfer(dentry, iattr, cu rrent-euid); you must _always_ check against fsuid and not agains euid. I know. In 2.2.1 the check was against euid and so was in my patches. In patches against 2.2.6 the check is properly