Re: [PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-03-14 Thread Kandan Venkataraman
On Tue, 13 Mar 2007, Christoph Hellwig wrote: On Wed, Mar 14, 2007 at 07:21:41AM +1100, Kandan Venkataraman wrote: All comments have been taken care of. Description: A file_operations structure variable called loop_fops is initialised with the default block device file operations

Re: [PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-03-14 Thread Kandan Venkataraman
On Tue, 13 Mar 2007, Christoph Hellwig wrote: On Wed, Mar 14, 2007 at 07:21:41AM +1100, Kandan Venkataraman wrote: All comments have been taken care of. Description: A file_operations structure variable called loop_fops is initialised with the default block device file operations

[PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-03-13 Thread Kandan Venkataraman
if (ioctl(fd, LOOP_GET_PGWRITES, ) < 0) { perror("ioctl: LOOP_GET_PGWRITES"); goto out1; } int i; for (i= 0; i < pgarray.num; i++) fprintf(stderr, "offset %ld\n", pgarray.pgoff[i]); out1: mun

[PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-03-13 Thread Kandan Venkataraman
(dfd); out4: close(fd); out5: return 0; } Signed-off-by: Kandan Venkataraman [EMAIL PROTECTED] diff -uprN linux-2.6.19.2/drivers/block/loop.c linux-2.6.19.2-new/drivers/block/loop.c --- linux-2.6.19.2/drivers/block/loop.c 2007-01-11 06:10:37.0 +1100 +++ linux-2.6.19.2-new

Re: [PATCH] Loop device - Tracking page writes made to a loop devicethrough mmap

2007-03-08 Thread Kandan Venkataraman
On Thu, 8 Mar 2007, Jari Ruusu wrote: Kandan Venkataraman wrote: All comments have been taken care of. Your patch still does not do conversions of existing user space visible 'struct loop_info64' which is pretty much cast in stone. Blindly overwriting larger structure over smaller user

Re: [PATCH] Loop device - Tracking page writes made to a loop devicethrough mmap

2007-03-08 Thread Kandan Venkataraman
On Thu, 8 Mar 2007, Jari Ruusu wrote: Kandan Venkataraman wrote: All comments have been taken care of. Your patch still does not do conversions of existing user space visible 'struct loop_info64' which is pretty much cast in stone. Blindly overwriting larger structure over smaller user

[PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-03-07 Thread Kandan Venkataraman
fprintf(stderr, "offset %ld\n", pgarray.pgoff[i]); out1: munmap(start, maxPages * pageSize); out2: ioctl(fd, LOOP_CLR_FD, 0); out3: close(dfd); out4: close(fd); out5: return 0; } Signed-off-by: Kandan Venkataraman [EMAIL PROTECTED] diff -uprN

[PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-03-07 Thread Kandan Venkataraman
* pageSize); out2: ioctl(fd, LOOP_CLR_FD, 0); out3: close(dfd); out4: close(fd); out5: return 0; } Signed-off-by: Kandan Venkataraman [EMAIL PROTECTED] diff -uprN linux-2.6.19.2/drivers/block/loop.c linux-2.6.19.2-new/drivers/block/loop.c --- linux-2.6.19.2

Re: [PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-03-02 Thread Kandan Venkataraman
There were a couple more white spaces, instead of tabs, hopefully this is the last of them:-) Signed-off-by: Kandan Venkataraman [EMAIL PROTECTED] diff -uprN linux-2.6.19.2/drivers/block/loop.c linux-2.6.19.2-new/drivers/block/loop.c --- linux-2.6.19.2/drivers/block/loop.c 2007-03-03 16:26

Re: [PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-03-02 Thread Kandan Venkataraman
The patch file seems to start in the same line as the sign off So I will introduce a new line at the end of my mail, hopefully that will fix that problem. Signed-off-by: Kandan Venkataraman [EMAIL PROTECTED] diff -uprN linux-2.6.19.2/drivers/block/loop.c linux-2.6.19.2-new/drivers/block

Re: [PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-03-02 Thread Kandan Venkataraman
I have included the patch as a text file. This is the only way I could get the patch to work from an email. Thank you for your patience Signed-off-by: Kandan Venkataraman [EMAIL PROTECTED]diff -uprN linux-2.6.19.2/drivers/block/loop.c linux-2.6.19.2-new/drivers/block/loop.c --- linux-2.6.19.2

Re: [PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-03-02 Thread Kandan Venkataraman
ng market data and this can be done independently of the transactions. This new facility will provide a way of tracking changes made to business data, independent of the application domain. Signed-off-by: Kandan Venkataraman [EMAIL PROTECTED] diff -uprN linux-2.6.19.2/drivers/block/loop

Re: [PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-03-02 Thread Kandan Venkataraman
lot of clients would be downloading market data and this can be done independently of the transactions. This new facility will provide a way of tracking changes made to business data, independent of the application domain. Signed-off-by: Kandan Venkataraman [EMAIL PROTECTED] diff -uprN linux-2.6.19

Re: [PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-03-02 Thread Kandan Venkataraman
. This new facility will provide a way of tracking changes made to business data, independent of the application domain. Signed-off-by: Kandan Venkataraman [EMAIL PROTECTED] diff -uprN linux-2.6.19.2/drivers/block/loop.c linux-2.6.19.2-new/drivers/block/loop.c --- linux-2.6.19.2/drivers/block

Re: [PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-03-02 Thread Kandan Venkataraman
will provide a way of tracking changes made to business data, independent of the application domain. Signed-off-by: Kandan Venkataraman [EMAIL PROTECTED] diff -uprN linux-2.6.19.2/drivers/block/loop.c linux-2.6.19.2-new/drivers/block/loop.c --- linux-2.6.19.2/drivers/block/loop.c 2007-03-02 22:05

Re: [PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-03-02 Thread Kandan Venkataraman
I have included the patch as a text file. This is the only way I could get the patch to work from an email. Thank you for your patience Signed-off-by: Kandan Venkataraman [EMAIL PROTECTED]diff -uprN linux-2.6.19.2/drivers/block/loop.c linux-2.6.19.2-new/drivers/block/loop.c --- linux-2.6.19.2

Re: [PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-03-02 Thread Kandan Venkataraman
The patch file seems to start in the same line as the sign off So I will introduce a new line at the end of my mail, hopefully that will fix that problem. Signed-off-by: Kandan Venkataraman [EMAIL PROTECTED] diff -uprN linux-2.6.19.2/drivers/block/loop.c linux-2.6.19.2-new/drivers/block

Re: [PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-03-02 Thread Kandan Venkataraman
There were a couple more white spaces, instead of tabs, hopefully this is the last of them:-) Signed-off-by: Kandan Venkataraman [EMAIL PROTECTED] diff -uprN linux-2.6.19.2/drivers/block/loop.c linux-2.6.19.2-new/drivers/block/loop.c --- linux-2.6.19.2/drivers/block/loop.c 2007-03-03 16:26

[PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-02-28 Thread Kandan Venkataraman
version. Please CC your reply to [EMAIL PROTECTED] The following patch is against vanilla linux-2.6.19.2 Signed-off-by: Kandan Venkataraman [EMAIL PROTECTED] diff -uprN linux-2.6.19.2/drivers/block/loop.c linux-2.6.19.2-new/drivers/block/loop.c --- linux-2.6.19.2/drivers/block/loop.c 2007-01

[PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-02-28 Thread Kandan Venkataraman
. The following patch is against vanilla linux-2.6.19.2 Signed-off-by: Kandan Venkataraman [EMAIL PROTECTED] diff -uprN linux-2.6.19.2/drivers/block/loop.c linux-2.6.19.2-new/drivers/block/loop.c --- linux-2.6.19.2/drivers/block/loop.c 2007-01-11 06:10:37.0 +1100 +++ linux-2.6.19.2-new

[PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-02-28 Thread Kandan Venkataraman
. The following patch is against vanilla linux-2.6.19.2 Signed-off-by: Kandan Venkataraman [EMAIL PROTECTED] diff -uprN linux-2.6.19.2/drivers/block/loop.c linux-2.6.19.2-new/drivers/block/loop.c --- linux-2.6.19.2/drivers/block/loop.c 2007-01-11 06:10:37.0 +1100 +++ linux-2.6.19.2-new

[PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-02-28 Thread Kandan Venkataraman
version. Please CC your reply to [EMAIL PROTECTED] The following patch is against vanilla linux-2.6.19.2 Signed-off-by: Kandan Venkataraman [EMAIL PROTECTED] diff -uprN linux-2.6.19.2/drivers/block/loop.c linux-2.6.19.2-new/drivers/block/loop.c --- linux-2.6.19.2/drivers/block/loop.c 2007-01