Hi, > I have tested your patch in 2.6.29-rc1. The sum of characters which > i had written were fewer than the block softlimit,but a warning occurs. I haven't seen any reply to this. Did it get resolved? > # edquota -u quser1 > Disk quotas for user quser1 (uid 504): > Filesystem blocks soft hard inodes soft hard > /dev/sda7 0 5 10 0 5 10 > > Steps to reproduce: > > # mkfs.ext4 /dev/sda7 > # mount /dev/sda7 /mnt -t ext4 > # setquota -u quser1 5 10 5 10 /mnt > > Then log in as quser1 > $ cd /mnt > $ ll > total 20 > -rw------- 1 root root 7168 01-20 01:51 aquota.user > drwx------ 2 root root 12288 01-20 01:44 lost+found > $ vim dd.sh Well, vim creates backup files and possibly some other stuff so it's quite possible that the block limit of 10 KB has been exceeded. Could you verify that e.g.: echo "abc" >dd.sh works as expected (you should then see 4KB used). > I written some characters,such as abc,then i do wq, > the warning occurs likes below: > "dd.sh" sda7: write failed, user block limit reached. Honza -- Jan Kara <jack@xxxxxxx> SuSE CR Labs -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html