search for: src_file

Displaying 15 results from an estimated 15 matches for "src_file".

2012 Jan 30
3
[PATCH] Btrfs: allow cloning ranges within the same file
...therwise reinsert) a subrange. - * - allow ranges within the same file to be cloned (provided - * they don''t overlap)? */ /* the destination must be opened for writing */ @@ -2247,8 +2245,6 @@ static noinline long btrfs_ioctl_clone(struct file *file, unsigned long srcfd, src = src_file->f_dentry->d_inode; ret = -EINVAL; - if (src == inode) - goto out_fput; /* the src must be open for reading */ if (!(src_file->f_mode & FMODE_READ)) @@ -2282,9 +2278,11 @@ static noinline long btrfs_ioctl_clone(struct file *file, unsigned long srcfd, if (inode < src) {...
2013 Aug 06
6
[PATCH 0/4] btrfs: out-of-band (aka offline) dedupe v4
Hi, The following series of patches implements in btrfs an ioctl to do out-of-band deduplication of file extents. To be clear, this means that the file system is mounted and running, but the dedupe is not done during file writes, but after the fact when some userspace software initiates a dedupe. The primary patch is loosely based off of one sent by Josef Bacik back in January, 2011.
2012 Mar 27
13
Create subvolume from a directory?
Hi all, Just a quick question but can''t find an obvious answer. Can I create/convert a existing (btrfs) directory into a subvolume? It would be very helpful when transferring ''partitions'' into btrfs. I found a similar question way back in google, but that site is down now generally. Thanks in advance. -- To unsubscribe from this list: send the line
2012 Feb 13
1
Cross-subvolume reflink copy (BTRFS_IOC_CLONE over subvolume boundaries)
It''s been nearly a year since the patches needed to implement a reflinked copy between subvolumes have been posted (http://permalink.gmane.org/gmane.comp.file-systems.btrfs/9865 ) and I still get "Invalid cross-device link" error with Linux 3.2.4 while I try to do a cp --reflink between subvolumes. This is a *very* useful feature to have (think offline file-level
2016 May 04
2
Re: [libvirt] Creating a storage volume for raw format file
...the file is very large the copy operation could take a long time and we'd use twice the disk space we should do. Since I could not find any documentation on the <source> elements for a directory pool's volume xml I was wondering if there was a setting that would make it move/rename src_file to the vol_name file in my pool directory rather than copy it? -- Paul Carlton Software Engineer Cloud Services Hewlett Packard BUK03:T242 Longdown Avenue Stoke Gifford Bristol BS34 8QZ Mobile: +44 (0)7768 994283 Email: mailto:paul.carlton2@hpe.com Hewlett-Packard Limited registered Offi...
2010 Mar 22
5
[PATCH 0/5] asynchronous commit, snapshot ponies
Hi everyone, This patchset is the latest approach I''m using for the Ceph storage daemon to keep track of which data has safely committed to disk. The basic idea is to not use the (problematic) user transaction ioctls at all. Instead, the daemon quiesces its own write requests, initiates an async snapshot, and then continues. The snapshot approach is nice because it provides rollback.
2002 Jul 12
1
Pipelining arbitrary file transfers + --{in,ex}clude oddness
I'd like to rsync a series of files at arbitrary points in a tree in one connection and am struggling to figure out how to do this. rsync seems AFAICS to have a fundamental src_file dst_file model, optionally with recursion. The best I could come up with was recursing plus multiple --include with a final --exclude "*". The idea is to avoid multiple calls to rsync and thus TCP/session overhead costs. Is this reasonable? A better way? (Sneaking feeling I'm missing...
2014 Sep 18
1
mixmonitor - convert wav to mp3/aac
hi, i want convert mixmonitor recorded speech audio from wav to mp3 or aac can you recommend your settings for speech audio? filters, noise elimination, compression ratio, ... i will probably use lame thank you -- --------------------------------------- Marek Cervenka =======================================
2012 Jun 20
8
[PATCH] Allow cross subvolume reflinks (2nd attempt)
Hello, This is the second attempt to bring in cross subvolume reflinks into btrfs. The first attempt was NAKed due to missing vfs mount checks and a clear description of what btrfs subvolumes are and probably also why cross subvolume reflinks are ok in the case of btrfs. This version of the patch comes from David and is in SUSE kernels since a long time, so it is tested and working. The patch
2016 May 04
0
Re: [libvirt] Creating a storage volume for raw format file
...opy > operation could take a long time and we'd use twice the > disk space we should do. > > Since I could not find any documentation on the <source> elements for a > directory pool's volume xml I was wondering if there > was a setting that would make it move/rename src_file to the vol_name file in > my pool directory rather than copy it? > >
2008 Aug 26
1
upload_column NoMethodError
Hi all, I''m using uploadcolumn plugin for file uploading. Followed the README file. Put "upload_column :src_file" in my model file as instructed, and i got this NoMethodError for the upload_column. This is the full trace: /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1667:in `method_missing'' app/models/speech.rb:2 /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/ac...
2016 May 04
2
[libvirt] Creating a storage volume for raw format file
Hi I'm trying to create a volume in an existing storage pool using python by calling createXML() on the pool object. If the file that is the subject of the new volume exists you get and error, also if it doesn't exist I worked out that specifying <source> <path>path to copy of file</path> </source> works, seemingly by copying the 'source' file to
2010 Oct 25
14
[PATCH 0/6] Btrfs commit fixes, async subvol operations
Hi Chris, This is the extent of my current queue of Btrfs snapshot/subvol/commit stuff. Most of these were posted several months ago. Can be sent upstream during this merge window? Not having this functionality is becoming a bit of a roadblock for our efforts to keep the Ceph data in a consistent state. These patches are also available from
2011 Sep 02
5
Linux kernel crash due to ocfs2
Hello, we have a pair of IBM P570 servers running RHEL5.2 kernel 2.6.18-92.el5.ppc64 We have Oracle RAC on ocfs2 storage ocfs2 is 1.4.7-1 for the above kernel (downloaded from oracle oss site) Recently both servers have been crashing with the following error: Assertion failure in journal_dirty_metadata() at fs/jbd/transaction.c:1130: "handle->h_buffer_credits > 0" kernel BUG in
2011 Oct 06
26
[PATCH v0 00/18] btfs: Subvolume Quota Groups
This is a first draft of a subvolume quota implementation. It is possible to limit subvolumes and any group of subvolumes and also to track the amount of space that will get freed when deleting snapshots. The current version is functionally incomplete, with the main missing feature being the initial scan and rescan of an existing filesystem. I put some effort into writing an introduction into