2014-03-18 23:59 GMT+09:00, OGAWA Hirofumi :
> Namjae Jeon writes:
>
>> +static void check_fallocated_region(struct inode *inode, sector_t
>> iblock,
>> +unsigned long *max_blocks, struct buffer_head *bh_result)
>> +{
>> +struct super_block *sb = inode->i_sb;
>> +sector_t last_
Namjae Jeon writes:
> +static void check_fallocated_region(struct inode *inode, sector_t iblock,
> + unsigned long *max_blocks, struct buffer_head *bh_result)
> +{
> + struct super_block *sb = inode->i_sb;
> + sector_t last_block, disk_block;
> + const unsigned long blocks
From: Namjae Jeon
For normal buffered write operations, normally if we try to write to an
offset > than file size, it does a cont_expand_zero till that offset.
Now, in case of fallocated regions, since the blocks are already
allocated. So, make it zero out that buffers for those blocks till the
3 matches
Mail list logo