Re: btrfs: possible unit mismatch on the async_delalloc_pages limit

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

 



On Wed, Nov 18, 2009 at 04:51:32PM +0800, Wu Fengguang wrote:
> Hi Chris,
> 
> I suspect the async_delalloc_pages limit checking in btrfs/inode.c
> 
>         atomic_read(&root->fs_info->async_delalloc_pages) < 5 * 1042 * 1024
> 
> never evaluate to FALSE because 5M pages are 20GB which is super
> large. I tried to fix it with the following patch. I increased the
> limit a bit, however still worry that the "corrected" limit is too
> small to create some regressions.
> 
> What do you think?

Thanks, I'll give this a shot here.

-chris

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux