Re: [PATCH V6 3/3] btrfs: delay to insert the initial inode

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

 



On Mon, 25 Apr 2011 16:50:43 -0400, Chris Mason wrote:
> Excerpts from Miao Xie's message of 2011-04-22 06:12:24 -0400:
>> Since we have implemented the delayed update of the inode, we can also
>> delayed to insert the initial inode, then we can merge the inode update
>> and the initial inode insertions to one insertion.
> 
> Awesome.  With things separate from the inode this should solve our oom
> problems.  We might need to register a shrinker for the delayed inode
> operations too, but that shouldn't be a problem.

I think this shrinker may block the task which is reclaiming the memory, because
the shrinker need some free memory to do extent buffer cow when it does delayed item
insertion/deletion. So...

But don't worry about it, those delayed nodes will be freed after the transaction
is committed.

Thanks
Miao

> 
> -chris
> 

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


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux