Re: [PATCH RFC] dm snapshot: shared exception store

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

 



On Tuesday 12 August 2008 06:14, FUJITA Tomonori wrote:
> >  You just want to use getblk for alloc_chunk_buffer,
> > not vmalloc.
> 
> I think that it means that we cache all the chunks, both btree chunks
> and the data chunks (which are passed to the upper layer such as file
> systems). I think that we don't want cache the latter in dm.

That is true.  However your code should not be reading data chunks into
memory at all.  The only time the snapshot code has to read a data
chunk is when performing the copy from origin to snapshot store in
make_unique.  Your code does not directly perform this task as far as I
can see.  That would be done in a part of the dm snapshot code your
patch does not touch, which I seem to recall uses the kcopyd mechanism.

Regards,

Daniel

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux