compression type per extent

2010-06-09 Thread Philip Worrall
I am trying to add some hooks to support different compression types In end_compressed_bio_read(struct bio *bio, int err) (compression.c) does anyone know how can i read the compression_type flag set for the current extent being read for decompression. I was looking at using

[Fwd: Re: Linking two files together][RFC]

2010-06-09 Thread Roberto Ragusa
Hi, I hope that ideas about btrfs are not off-topic for this mailing list. The forwarded message below was written by me on fedora-users. The thread is about the ability to link two files in a manner similar to cat 1 2 3 rm 1 2 while avoiding any data movement on the disk. The implementation

Re: [Fwd: Re: Linking two files together][RFC]

2010-06-09 Thread Hubert Kario
On Wednesday 09 June 2010 13:53:00 Roberto Ragusa wrote: Hi, I hope that ideas about btrfs are not off-topic for this mailing list. The forwarded message below was written by me on fedora-users. The thread is about the ability to link two files in a manner similar to cat 1 2 3 rm 1 2

[PATCH][RFC] Complex filesystem operations: split and join

2010-06-09 Thread Nikanth Karthikesan
I had a need to split a file into smaller files on a thumb drive with no free space on it or anywhere else in the system. When the filesystem supports sparse files(truncate_range), I could create files, while punching holes in the original file. But when the underlying fs is FAT, I couldn't. Also

Re: [Fwd: Re: Linking two files together][RFC]

2010-06-09 Thread Andi Kleen
Roberto Ragusa m...@robertoragusa.it writes: I hope that ideas about btrfs are not off-topic for this mailing list. The forwarded message below was written by me on fedora-users. The thread is about the ability to link two files in a manner similar to cat 1 2 3 rm 1 2 while avoiding any

Re: [Fwd: Re: Linking two files together][RFC]

2010-06-09 Thread Sage Weil
On Wed, 9 Jun 2010, Roberto Ragusa wrote: I hope that ideas about btrfs are not off-topic for this mailing list. The forwarded message below was written by me on fedora-users. The thread is about the ability to link two files in a manner similar to cat 1 2 3 rm 1 2 while avoiding any data

missing include from btrfsck.c?

2010-06-09 Thread C Anthony Risinger
i'm not a C developer, but i like to think i know enough to be dangerous (pragmatic) :-D building from git master failed with: .. .. gcc -Wp,-MMD,./.btrfsck.o.d,-MT,btrfsck.o -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -g -Werror -Os -c btrfsck.c cc1: warnings being treated

RE: [PATCH V2 2/7] Cleancache (was Transcendent Memory): core files

2010-06-09 Thread Dan Magenheimer
I just finished a rough (but working) implementation of in-kernel page cache compression backend (called zcache). During this work, I found some issues with cleancache, mostly related to (lack of) comments/documentation: Great to hear! And excellent feedback on the missing documentation... I