Re: [PATCH] mke2fs: do not initialize block bitmaps of groups having super block

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 10, 2011 at 4:34 AM, Theodore Tso <tytso@xxxxxxx> wrote:
>
> On Nov 9, 2011, at 11:23 AM, Andreas Dilger wrote:
>
>> On 2011-11-09, at 3:53 AM, Yongqiang Yang <xiaoqiangnk@xxxxxxxxx> wrote:
>>
>>> Now mke2fs initializes block bitmaps of groups having super block, on
>>> the other hand ext4_init_block_bitmap in kernel can handle this case
>>> rightly.  So let mke2fs let block bitmaps of groups having super block
>>> be uninitialized.
>>
>> Is that true of older kernels, or only newer ones?  What about filesystems with META_BG set?
>
> More to the point, what about file systems that don't have uninit_bg set?
mke2fs does not set BLOCK_UNINIT flag for file systems which do not
have uninit_bg set from the beginning.


>
> What's the reason for wanting to make this change?
The different handling to some groups let readers think that we have
to handle these groups this way, otherwise errors will happen.
Actually, no error will happen.   IMHO this can make both logic and
code much clearer.

Yongqiang.
>
> -- Ted
>
>
>



-- 
Best Wishes
Yongqiang Yang
--
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


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux