Displaying 20 results from an estimated 9000 matches similar to: "Suggestion: rsync and direct IO"
2020 Aug 07
2
Re: [PATCH nbdkit] file: Implement cache=none and fadvise=normal|random|sequential.
On Fri, Aug 07, 2020 at 05:29:24PM +0300, Nir Soffer wrote:
> On Fri, Aug 7, 2020 at 5:07 PM Richard W.M. Jones <rjones@redhat.com> wrote:
> > These ones?
> > https://www.redhat.com/archives/libguestfs/2020-August/msg00078.html
>
> No, we had a bug when copying image from glance caused sanlock timeouts
> because of the unpredictable page cache flushes.
>
> We
2010 May 06
1
[PATCH 1/3] fs: allow short direct-io reads to be completed via buffered IO V2
V1->V2: Check to see if our current ppos is >= i_size after a short DIO read,
just in case it was actually a short read and we need to just return.
This is similar to what already happens in the write case. If we have a short
read while doing O_DIRECT, instead of just returning, fallthrough and try to
read the rest via buffered IO. BTRFS needs this because if we encounter a
compressed or
2008 Sep 02
1
[PATCH] ocfs2: Fix a bug in direct IO read.
ocfs2 will become read-only if we try to read the bytes which pass
the end of i_size. This can be easily reproduced by following steps:
1. mkfs a ocfs2 volume with bs=4k cs=4k and nosparse.
2. create a small file(say less than 100 bytes) and we will create the file
which is allocated 1 cluster.
3. read 8196 bytes from the kernel using O_DIRECT which exceeds the limit.
4. The ocfs2 volume
2020 Aug 07
3
Re: [PATCH nbdkit] file: Implement cache=none and fadvise=normal|random|sequential.
On Fri, Aug 07, 2020 at 07:53:13AM -0500, Eric Blake wrote:
> >$ free -m; time ./nbdkit file /var/tmp/random fadvise=sequential cache=none --run 'qemu-img convert -n -p -m 16 -W $nbd "json:{\"file.driver\":\"null-co\",\"file.size\":\"1E\"}"' ; free -m ; cachestats /var/tmp/random
>
> Hmm - the -W actually says that qemu-img is
2020 Aug 07
2
Re: [PATCH nbdkit] file: Implement cache=none and fadvise=normal|random|sequential.
On Fri, Aug 07, 2020 at 04:43:12PM +0300, Nir Soffer wrote:
> On Fri, Aug 7, 2020, 16:16 Richard W.M. Jones <rjones@redhat.com> wrote:
> > I'm not sure if or even how we could ever do a robust O_DIRECT
> >
>
> We can let the plugin an filter deal with that. The simplest solution is to
> drop it on the user and require aligned requests.
I mean this is very error
2020 Aug 10
1
Re: [PATCH nbdkit] file: Implement cache=none and fadvise=normal|random|sequential.
On Sat, Aug 08, 2020 at 02:14:22AM +0300, Nir Soffer wrote:
> On Fri, Aug 7, 2020 at 5:36 PM Richard W.M. Jones <rjones@redhat.com> wrote:
> >
> > On Fri, Aug 07, 2020 at 05:29:24PM +0300, Nir Soffer wrote:
> > > On Fri, Aug 7, 2020 at 5:07 PM Richard W.M. Jones <rjones@redhat.com> wrote:
> > > > These ones?
> > > >
2003 Feb 20
2
[Apt-rpm] I: [PATCH] 0.5.4cnc9: rsync method support
Sviatoslav Sviridov [mailto:svd@ns1.lintec.minsk.by] wrote:
>It would be good if attached patch will be included in upstream. This
>patch adds option --apt-support for rsync and with this option rsync
>will print some additional information about file being transfered. No
>program logic changed. Having this option in rsync we can have apt with
>rsync method support.
1. What is apt?
2008 Feb 19
1
--o-direct option
I would appreciate the addition of this option, which would cause files
opened by rsync to be opened using the O_DIRECT flag, on Linux, at
least. Let me explain my circumstance:
I use rsync to migration VMware disk images from one machine to another
while the VM is running. This works really well: you take a snapshot of
the VM, run rsync, take another snapshot, run it again, then finally
suspend
2002 Nov 12
2
2.5.5 build ignores $CPPFLAGS
(I'm not subscribed; Mail-Followup-To set.)
Contrary to the claim in the output of ./configure --help, $CPPFLAGS
is in fact not influential.
--- rsync-2.5.5/Makefile.in~ 2002-03-24 23:36:34.000000000 -0500
+++ rsync-2.5.5/Makefile.in 2002-11-12 17:52:04.000000000 -0500
@@ -9,6 +9,7 @@
LIBS=@LIBS@
CC=@CC@
CFLAGS=@CFLAGS@
+CPPFLAGS=@CPPFLAGS@
LDFLAGS=@LDFLAGS@
2003 Feb 12
4
Pb w/ >2GB files on AIX (4.3.3/5.1)
I have discovered that rsync 2.5.6 uses the mkstemp() routine wich do
not have a 64bits version into the AIX libc.
A very simple workaround to the big files writing rsync pb. is to not
use this routine that create files w/ mkstemp() by modifying the
"syscall.c" source file at line 154 as following :
#if defined(HAVE_SECURE_MKSTEMP) && defined(HAVE_FCHMOD)
become
#if
2003 Aug 24
2
wxRuby 0.1.0 Alpha has been released!
http://rubyforge.org/project/showfiles.php?group_id=35&release_id=46
The code itself has been quite stable for several weeks. This release
includes Gour''s excellent MinGW README notes, along with various updates
to the README, and clarification of the LICENSE.
Thanks to everyone for your help in putting this together. It was
definitely a team project. I look forward to getting lots
2008 Dec 16
2
Request change to file match.c, function match_pattern_list
Greetings,
This request is in the grey area between a bug report and an
enhancement request.
Request
-------
Please apply the following diff (or something functionally similar) to
file ``match.c'' in OpenSSH-5.1p1:
161a162,164
> } else {
> if (negated)
> got_positive = 1; /* Negative match, negated = Positive */
In case the lines above wrapped in the email
2003 Jan 29
5
Proposal that we now create two branches - 2_5 and head
I'd like to suggest that this is now a great time to create two separate cvs
branches for the rsync product. One, which I'll tentatively call 2_5, would
hold the version of the code that has been released to the world as 2.5.6.
The other, which I'll tentatively call head, would hold the development
activity leading up to the next field release. I'm not bound to these names,
but I
2008 Dec 18
1
[Bug 1546] New: sshd_config DenyUsers does not recognize negated host properly
https://bugzilla.mindrot.org/show_bug.cgi?id=1546
Summary: sshd_config DenyUsers does not recognize negated host
properly
Product: Portable OpenSSH
Version: 5.1p1
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P4
Component: sshd
AssignedTo: unassigned-bugs
2010 May 07
6
[PATCH 1/5] fs: allow short direct-io reads to be completed via buffered IO V2
V1->V2: Check to see if our current ppos is >= i_size after a short DIO read,
just in case it was actually a short read and we need to just return.
This is similar to what already happens in the write case. If we have a short
read while doing O_DIRECT, instead of just returning, fallthrough and try to
read the rest via buffered IO. BTRFS needs this because if we encounter a
compressed or
2003 Jan 18
1
Finished storage compression patch for rsync
Hi,
i finished my storage compression patch for rsync.
WARNING - THIS IS ONLY FOR TESTING!
How does this work?
Just add a "-Z" option to your common rsync commandline parameters. The
destination files will be stored in a compressed way (by using a hardwired
call of gzip).
This works in both directions:
rsync -Z -av mydir user@remote:/dir
and
rsync -Z -av user@remote:/dir
2003 Mar 11
1
fudging filename characters
There are a couple of bug reports on the Debian rsync package about
problems with a recipient filesystem that can't cope with all possible
unix filenames. Notably filenames with question marks are a problem...
I guess that people are trying to backup systems to a SMB share which
presumably is then regularly backupped to tape. This basically sounds
like a reasonable thing to do :-)
Would
2003 Mar 15
1
BUG: snprintf() with floating point numbers
Hello,
I used the snprintf.{c,h} in rsync for my code, and found a bug in it:
snprintf(s,16,"%f",0.025) results "0.250000".
The problem is in snprintf.c, in fmtfp(), around line 732. I didn't try
the solution (I do not need it anymore), but the zpadding number of
'0'-s should be placed before fconvert.
I am not in the list, so please cc the answer for the
2010 May 12
0
[PATCH 1/4] fs: allow short direct-io reads to be completed via buffered IO V2
V1->V2: Check to see if our current ppos is >= i_size after a short DIO read,
just in case it was actually a short read and we need to just return.
This is similar to what already happens in the write case. If we have a short
read while doing O_DIRECT, instead of just returning, fallthrough and try to
read the rest via buffered IO. BTRFS needs this because if we encounter a
compressed or
2003 Jan 14
2
configure issue (ac_cv_lib_inet_connect) on DYNIX/ptx
Greetings -
In trying to get rsync-2.5.6pre1 working on DYNIX/ptx, I found I
needed to pass ac_cv_lib_inet_connect=no to configure in order for
it actually create a properly configured config.h file.
I think this is because configure looks for connect in libinet,
(and finds one there somehow). But connect() is resolved by libsocket
(but configure doesn't find it when