Re: [PATCH 2/3] btrfs-progs: libify some parts of btrfs-progs

2013-01-16 Thread Mark Fasheh
On Tue, Jan 15, 2013 at 04:06:42PM +0800, Anand Jain wrote: > better if its there (man libbtrfs). pls create if you could. Hmm, I'm confused though - what exactly goes into a file system library man page? Could you point me to an example one? --Mark -- Mark Fasheh -- To unsubscribe from

Re: [PATCH 2/3] btrfs-progs: libify some parts of btrfs-progs

2013-01-15 Thread Arvin Schnell
On Tue, Jan 15, 2013 at 02:46:50PM +0200, Ilya Dryomov wrote: > On Mon, Jan 14, 2013 at 03:18:14PM +0100, Arvin Schnell wrote: > > > > Hi, > > > > please find attached a patch to make the new libbtrfs usable from > > C++ (at least for the parts snapper will likely need). > Why exactly do we need

Re: [PATCH 2/3] btrfs-progs: libify some parts of btrfs-progs

2013-01-15 Thread Ilya Dryomov
On Mon, Jan 14, 2013 at 03:18:14PM +0100, Arvin Schnell wrote: > > Hi, > > please find attached a patch to make the new libbtrfs usable from > C++ (at least for the parts snapper will likely need). > > Regards, > Arvin > > -- > Arvin Schnell, > Senior Software Engineer, Research & Developme

Re: [PATCH 2/3] btrfs-progs: libify some parts of btrfs-progs

2013-01-15 Thread Anand Jain
better if its there (man libbtrfs). pls create if you could. Thanks, Anand On 01/15/2013 02:10 AM, Mark Fasheh wrote: On Mon, Jan 14, 2013 at 11:43:44AM +0800, Anand Jain wrote: Mark, Good to create man libbtrfs ? Are you asking if you should do this? If so yeah for sure, I won't com

Re: [PATCH 2/3] btrfs-progs: libify some parts of btrfs-progs

2013-01-14 Thread Mark Fasheh
On Mon, Jan 14, 2013 at 11:42:05AM +0800, Anand Jain wrote: > Its bit strange, the steps given before can reproduce > the problem still on my older workspace. However when > I try with the fresh clone, it can reproduce the issue > (4 times, consistently) only with the following (new) > steps..

Re: [PATCH 2/3] btrfs-progs: libify some parts of btrfs-progs

2013-01-14 Thread Arvin Schnell
On Mon, Jan 14, 2013 at 10:14:03AM -0800, Mark Fasheh wrote: > Hi Arvin! > > On Mon, Jan 14, 2013 at 03:18:14PM +0100, Arvin Schnell wrote: > > please find attached a patch to make the new libbtrfs usable from > > C++ (at least for the parts snapper will likely need). > > Thanks, that looks great

Re: [PATCH 2/3] btrfs-progs: libify some parts of btrfs-progs

2013-01-14 Thread Mark Fasheh
On Mon, Jan 14, 2013 at 11:42:05AM +0800, Anand Jain wrote: > > > Mark, > > Its bit strange, the steps given before can reproduce > the problem still on my older workspace. However when > I try with the fresh clone, it can reproduce the issue > (4 times, consistently) only with the following (n

Re: [PATCH 2/3] btrfs-progs: libify some parts of btrfs-progs

2013-01-14 Thread Mark Fasheh
Hi Arvin! On Mon, Jan 14, 2013 at 03:18:14PM +0100, Arvin Schnell wrote: > please find attached a patch to make the new libbtrfs usable from > C++ (at least for the parts snapper will likely need). Thanks, that looks great. I'll integrate it into my stack of patches and send it out with the next

Re: [PATCH 2/3] btrfs-progs: libify some parts of btrfs-progs

2013-01-14 Thread Mark Fasheh
On Mon, Jan 14, 2013 at 11:43:44AM +0800, Anand Jain wrote: > > Mark, > > Good to create man libbtrfs ? Are you asking if you should do this? If so yeah for sure, I won't complain about sharing the work! If you're asking whether I should, I'm not sure. I suppose it's probably a good idea :) I'll

Re: [PATCH 2/3] btrfs-progs: libify some parts of btrfs-progs

2013-01-14 Thread Arvin Schnell
Hi, please find attached a patch to make the new libbtrfs usable from C++ (at least for the parts snapper will likely need). Regards, Arvin -- Arvin Schnell, Senior Software Engineer, Research & Development SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 167

Re: [PATCH 2/3] btrfs-progs: libify some parts of btrfs-progs

2013-01-13 Thread Anand Jain
Mark, Good to create man libbtrfs ? Thanks, Anand On 01/09/2013 05:41 AM, Mark Fasheh wrote: External software wanting to use the functionality provided by the btrfs send ioctl has a hard time doing so without replicating tons of work. Of particular interest are functions like btrfs_read_an

Re: [PATCH 2/3] btrfs-progs: libify some parts of btrfs-progs

2013-01-13 Thread Anand Jain
Mark, Its bit strange, the steps given before can reproduce the problem still on my older workspace. However when I try with the fresh clone, it can reproduce the issue (4 times, consistently) only with the following (new) steps.. - # git clone git://git.kernel.org/pub/sc

Re: [PATCH 2/3] btrfs-progs: libify some parts of btrfs-progs

2013-01-11 Thread Mark Fasheh
On Fri, Jan 11, 2013 at 05:31:09PM +0800, Anand Jain wrote: > > Mark, > > test case : > make (Do not run make all) > make install Thanks for testing! > generates the following error.. > > install -m755 -d /usr/local/lib > install libbtrfs.so.1.0 libbtrfs.so.1 libbtrfs.so /usr/local/lib > install

Re: [PATCH 2/3] btrfs-progs: libify some parts of btrfs-progs

2013-01-11 Thread Anand Jain
Mark, test case : make (Do not run make all) make install generates the following error.. install -m755 -d /usr/local/lib install libbtrfs.so.1.0 libbtrfs.so.1 libbtrfs.so /usr/local/lib install: cannot stat `libbtrfs.so.1.0': No such file or directory install: cannot stat `libbtrfs.so.1': N