Displaying 20 results from an estimated 3000 matches similar to: "fsync() and data=journal behaviour"
2004 Sep 16
1
[PATCH] BUG on fsync/fdatasync with Ext3 data=journal
Hello,
We found that fsync and fdatasync syscalls sometimes don't sync
data in an ext3 file system under the following conditions.
1. Kernel version is 2.6.6 or later (including 2.6.8.1 and 2.6.9-rc2).
2. Ext3's journalling mode is "data=journal".
3. Create a file (whose size is 1Mbytes) and execute umount/mount.
4. lseek to a random position within the file, write 8192 bytes
2005 Sep 21
1
wbinfo works for test authentication but cannot list users
Hi all,
I have a Samba configuration that was in place on Ubuntu Warty (samba
3.0.7) workstations to allow winbind to authenticate domain users on
them. These computers have since been re-installed with Ubuntu Hoary
(samba 3.0.10) with the same configuration.
The workstations have been successfully joined to the domain using
`net rpc join`.
`wbinfo -t` shows that the trust between the
2002 Oct 21
4
samba 2.2.6 name
Hi,
I've just installed samba 2.2.6 [solaris 2.6] and while ./smbstatus
(on solaris) reports version 2.2.6, network neighbourhood [ or net
view4] (on win 2k/win98) report
Samba 2.2.5
Any ideas?
ta
iain
--
--------------------------------------------------------------
Iain Morrison
MRC Cognition and Brain Sciences Unit
15 Chaucer Road Tel 01223 355294 xt 581
2007 Sep 26
1
strange fsync errors
Hi all,
I'm using dovecot since a few months and it works great.
But a few days ago some coworkers mentioned that they got
errormessages in their Mailapp.
I searched in the logfiles and found this:
Sep 14 12:07:35 Mailserv dovecot: IMAP(eckhard-ma-domain-com):
fsync(/home/eckhard-ma-domain-com/mails/.INBOX.0002-Druckangebote von
Druckereien.0002-schmerk
2002 Oct 04
4
Resize journal on root filesystem
Hi all,
I'm trying to resize a journal on my root filesystem. This is Ext3,
kernel 2.4.19, latest e2fsprogs + htree patch.
I've remounted my root filesystem as ext2, but still when I 'tune2fs -O
^has_journal' I get
----
The has_journal flag may only be cleared when the filesystem is
unmounted or mounted read-only.
----
So, how can I increase the size of the journal? I
2004 Feb 13
1
fsync in ext3: A question
Hi,
I have a question on fsync() and ext3's journaling modes.
Assume that I call fsync(fd) on a file.
If that file is in 'data=journal' mode, would the fsync() return once the
data gets safely into the journal ?
On the other hand, if that file is in 'data=writeback' mode, would the
fsync() return only when the data gets safely into its actual location ?
Any help is
2013 Oct 28
0
[PATCH] xfstests: add generic/320 to test fsync() on directories V2
Btrfs had some issues with fsync()''ing directories and fsync()''ing after
renames. These three new tests cover the 3 different issues we were seeing.
This breaks out the dmflakey stuff into a common helper to be shared between
generic/311 and generic/320. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
---
V1->V2: moved this out into its own test instead of
2016 Jan 18
0
[PATCH v2] resize, builder: fsync the output file before closing the libvirt connection.
Libvirt has a fixed 15 second timeout for qemu to exit. If qemu is
writing to a slow USB key, it can hang (in D state) for much longer
than this - many minutes usually.
To work around this, fsync the output file before closing the libvirt
connection so that qemu shouldn't have anything (much) to write. We
have to do this in a few places in the code.
This is a hack - it would be better to
2018 Feb 02
0
Does samba support fsync() a directory?
Hi, Johannes:
> So whatever you do, it's probably best to assume that the fsync() operation on
> your dir fd is going to fail, and route around that (potential) failure as
> best as you can.
Thanks very much for this information.
Is this documented? So that I can report this to my boss. I googled this for sort of time.
Thanks again!
Best Regards
Cao
在 2018年02月02日 20:59,
2010 Jul 06
0
[PATCH 0/6 v6][RFC] jbd[2]: enhance fsync performance when using CFQ
Hi Jeff,
On 07/03/2010 03:58 AM, Jeff Moyer wrote:
> Hi,
>
> Running iozone or fs_mark with fsync enabled, the performance of CFQ is
> far worse than that of deadline for enterprise class storage when dealing
> with file sizes of 8MB or less. I used the following command line as a
> representative test case:
>
> fs_mark -S 1 -D 10000 -N 100000 -d /mnt/test/fs_mark -s
2013 Dec 18
2
[PATCH] Btrfs: improve the performance fluctuating of the fsync
In order to improve the performance of fsync, we use the outstanding
ordered extents to avoid looking up the checksum from the csum tree.
But we didn''t filter out the ordered extents whose csum is still being
calculated, when we got those ordered extents, we had to wait for the
csum calculation. It made the performance dropped down suddenly. (On
my box, it drop down from 56MB/s to
2010 Apr 11
1
Re: Poor interactive performance with I/O loads with fsync()ing
On Sun, 11 Apr 2010 18:03:00 +0300, Avi Kivity <avi@redhat.com> wrote:
> On 04/09/2010 05:56 PM, Ben Gamari wrote:
> > On Mon, 29 Mar 2010 00:08:58 +0200, Andi Kleen<andi@firstfloor.org> wrote:
> >
> >> Ben Gamari<bgamari.foss@gmail.com> writes:
> >> ext4/XFS/JFS/btrfs should be better in this regard
> >>
> >>
>
2018 Feb 02
1
Does samba support fsync() a directory?
Hi!
Afair, fsync()ing a directory is subject to platform-specific and
implementation-defined behaviour, and may either
- work as you'd want and (probably) expect
- fail with an error
- fail silently
at least if your application targets more than one operating system/kernel -
and even on one and the same platform, different filesystems might exhibit
sublty different patterns of behaviour.
2016 Jan 18
0
[PATCH] resize: fsync the output file before closing the libvirt connection.
Libvirt has a fixed 15 second timeout for qemu to exit. If qemu is
writing to a slow USB key, it can hang (in D state) for much longer
than this - many minutes usually.
To work around this, fsync the output file before closing the libvirt
connection so that qemu shouldn't have anything (much) to write. We
have to do this in two places in the code since we can reopen the
connection (if using
2002 Oct 21
3
htree questions
I decided that I would try out 2.5.44, and I noticed that htree was
merged. If I don't do the tune2fs -O dir_index, and e2fsck -D, the
(exisintg) fs won't use htree, right? Once I do the tune2fs and e2fsck,
will I still be able to go back to a non-htree kernel if needed? (Will
a htree-ized fs work on a non-htree kernel?) I'm guessing that it
won't. I've seen a 2.4 htree
2003 Apr 04
1
2.4.20 & htree
Apologies for the newbie question:
I have a (stock) 2.4.20 build (*not* -ac), and I'm trying to work with
large ext3 directories. By large, I mean 160,000 files per directory.
(Yes, I know it would be better in nested directories but such is
life).
I feel htree would benefit me. Having upgraded from an earlier version
of 2.4, I don't see any change, and close reading of the 2.4 changelog
2003 Apr 07
1
2.4.20 and htree
Apologies for the newbie question:
I have a (stock) 2.4.20 build (*not* -ac), and I'm trying to work with
large ext3 directories. By large, I mean 160,000 files per directory. (Yes,
I know it would be better in nested directories but such is life).
I feel htree would benefit me. Close reading of the 2.4 changelog suggests
that htree isn't in there - only a patch to prevent non-htree
2010 Jul 15
13
[Bug 1798] New: Add fsync() support to sftp/sftp-server
https://bugzilla.mindrot.org/show_bug.cgi?id=1798
Summary: Add fsync() support to sftp/sftp-server
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: sftp-server
AssignedTo: unassigned-bugs at mindrot.org
2003 Feb 04
1
Quick fsync question
If I want to make sure a file has really been deleted do I have to:
1. fsync the file
2. fsync the directory the file is in
3. both?
Much thanks.
--
Ben Escoto
2012 May 02
0
bcrm package update
Dear all,
Version 0.3 of the bcrm package is now available on CRAN. The package
allows users to fit Bayesian Continuous Reassessment Method Phase I
trial designs. This version has the following new developments from
version 0.1:
* Stopping rules have been added, allowing stopping to be based on a
maximum sample size, the maximum number to be treated at the final MTD
estimate, the precision