[Forgot to cc the list] ---------- Forwarded message ---------- From: Manish Katiyar <mkatiyar@xxxxxxxxx> Date: Sat, Jan 10, 2009 at 8:31 PM Subject: Re: Copying Data Blocks To: Sandeep K Sinha <sandeepksinha@xxxxxxxxx> On Sat, Jan 10, 2009 at 1:38 PM, Sandeep K Sinha <sandeepksinha@xxxxxxxxx> wrote: > Hi Greg, > > On Fri, Jan 9, 2009 at 5:49 AM, Greg Freemyer <greg.freemyer@xxxxxxxxx> wrote: >> Both a top post and bottom post. >> >> == Top Post >> >> Lost the context for this, but looking at your site: >> http://code.google.com/p/fscops/ >> >> I see a very valuable HSM goal, but I don't see the biggest user of >> future HSM implementations. >> > Do you mean the futuristic aspects of this project in the market or > something to be mentioned on the project webpage. > >> Namely servers that add SSD drives as even faster / more expensive >> storage than rotating disks. >> > > > >> The block layer is right now is exposing a flag to user space for >> rotating / non-rotating. I think it will be in 2.6.29, but it has not >> been accepted yet I don't think. >> >> Since non-rotating media is about 50x the cost of rotating media, I >> can envision a lot of useres wanting to put fiels that are about to be >> heavily used onto SSD for processing / searching / etc. then moved >> back to rotating disk until needed again. >> >> I know my companies data usage patterns would benefit greatly from an >> HSM that support SSD drives. We work with a couple hundred datasets a >> year typically. But at any given time, just a couple of them are >> actively in use. >> > > Thanks for your insight. Well, if I am getting it right, does that > mean that such utilities will be of great use in future ? > We already have several use cases for such tiered storage. Database > environment and search engines being one of the major ones. > >>>> copy_inode_info() >>> >>> Well, currently I dont intend to move the inode to a new location. I >>> would prefer leave the original inode intact just updating the new >>> data block pointers. This is still in debate, whether to relocate >>> inode or not. >> >> I know I pseudo coded it up based on a new inode. >> >> If your goal is to do the HSM re-org with live files, then I would try >> real hard not to allocate a new inode. >> > > Allocating a new inode will also cause several issues for hardlinks as well. > Manish, does ext2 have support for hardlinks, any idea ? Well.... I don't understand the problem here. Can you be a bit more specific. What do you mean by "ext2 have support for hardlinks" . Also how the problem you are trying to solve is going to be solved by hardlinks. > >> That way after the re-org all of the file i/o will continue to work >> exactly like it was. >> > What if the file which is being copied is of several TB's we will have > to allocate a ghost inode of the same size, which might cause two disk > space on the file system for sometime, failing some of the > applications which tend to allocated/need large number of data blocks. > Is there any way to avoid such situations ? > >> Greg >> -- >> Greg Freemyer >> Litigation Triage Solutions Specialist >> http://www.linkedin.com/in/gregfreemyer >> First 99 Days Litigation White Paper - >> http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf >> >> The Norcross Group >> The Intersection of Evidence & Technology >> http://www.norcrossgroup.com >> > > > > -- > Regards, > Sandeep. > > > > > > > "To learn is to change. Education is a process that changes the learner." > -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ