From: "rishi agrawal" Subject: Re: Copying Data Blocks Date: Tue, 6 Jan 2009 19:42:34 +0530 Message-ID: <5feb302e0901060612p4e114953pb6e297778aa7c0a4@mail.gmail.com> References: <2d08ef090901060236p46d4d396x797e4bceb24a2a34@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_186753_25025349.1231251154659" Cc: "Rohit Sharma" , ext4 , Kernelnewbies To: "Manish Katiyar" Return-path: In-Reply-To: Sender: kernelnewbies-bounce@nl.linux.org Errors-to: kernelnewbies-bounce@nl.linux.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: List-Id: linux-ext4.vger.kernel.org ------=_Part_186753_25025349.1231251154659 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline yes i suppose the donor inode is known moreover the receiver inode's number is also known On Tue, Jan 6, 2009 at 6:54 PM, Manish Katiyar wrote: > On Tue, Jan 6, 2009 at 4:06 PM, Rohit Sharma wrote: > > I want to read data blocks from one inode > > and copy it to other inode. > > > > I mean to copy data from data blocks associated with one inode > > to the data blocks associated with other inode. > > Copying 4K chunk of data itself is a costly operation. and depending > on the size of your donor inode this can be huge . Why do you want to > do that ? Do you know the inode of the donor inode ? > > thanks - > Manish > > > > Is that possible in kernel space.? > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-ext4" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-ext4" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Regards, Rishi B. Agrawal ------=_Part_186753_25025349.1231251154659 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline yes i suppose the donor inode is known

moreover the receiver inode's number is also known

On Tue, Jan 6, 2009 at 6:54 PM, Manish Katiyar <mkatiyar@gmail.com> wrote:
On Tue, Jan 6, 2009 at 4:06 PM, Rohit Sharma <imreckless@gmail.com> wrote:
> I want to read data blocks from one inode
> and copy it to other inode.
>
> I mean to copy data from data blocks associated with one inode
> to the data blocks associated with other inode.

Copying 4K chunk of data itself is a costly operation. and depending
on the size of your donor inode this can be huge . Why do you want to
do that ? Do you know the inode of the donor inode ?

thanks -
Manish
>
> Is that possible in kernel space.?
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



--
Regards,
Rishi B. Agrawal

------=_Part_186753_25025349.1231251154659-- -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ