Displaying 20 results from an estimated 1046 matches for "pwrites".
Did you mean:
writes
2023 Aug 31
2
[PATCH nbdkit] sh: In pwrite, allow scripts to ignore stdin
See comment for explanation and
https://listman.redhat.com/archives/libguestfs/2023-August/032468.html
---
tests/Makefile.am | 2 +
plugins/sh/call.c | 33 +++++++-----
tests/test-sh-pwrite-ignore-stdin.sh | 77 ++++++++++++++++++++++++++++
3 files changed, 100 insertions(+), 12 deletions(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index
2003 Feb 26
0
performance problem with Samba built with pread/pwrite on HP-UX 1 1.11
Hi everyone,
One of my teammates here at HP uncovered this, and I thought it deserved
proactive mention on the list:
It covers non-HP builds of Samba, so HP CIFS Server (HP's version of Samba
bundled with all 11.0 and above OS'es) customers are not directly affected
but those of you on the list who might build Samba yourselves on 11.11 could
be affected.
Customers building their own
2015 Nov 07
3
Re: mkfs.ext2 succeeds despite nbd write errors?
On Sat, Nov 7, 2015 at 5:03 AM, Richard W.M. Jones <rjones@redhat.com> wrote:
> How about 'strace mkfs.ext2 ..' and see if any system calls are
> returning errors. That would show you whether nbd-client is throwing
> errors away, or whether mkfs is getting the errors and ignoring them
> (seems pretty unlikely, but you never know).
>
> After that, it'd be down
2016 Jan 06
0
[klibc:master] Add pread and pwrite 32bit syscall wrappers for parisc
Commit-ID: 75895304280f597f46551deb8b87c27ac18a013c
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=75895304280f597f46551deb8b87c27ac18a013c
Author: Helge Deller <deller at gmx.de>
AuthorDate: Wed, 6 Jan 2016 00:43:50 +0000
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 5 Jan 2016 17:45:50 -0800
[klibc] Add pread and pwrite 32bit syscall
2015 Feb 19
4
Excel and Samba Problem
ok..
and you did also a ..
chmod -R 2770 /path/to/dir
The folder you are share-ing also needs 2770
>-----Oorspronkelijk bericht-----
>Van: Oliver Werner [mailto:oliver.werner at kontrast.de]
>Verzonden: donderdag 19 februari 2015 13:45
>Aan: L.P.H. van Belle
>CC: samba at lists.samba.org
>Onderwerp: Re: [Samba] Excel and Samba Problem
>
>I have try it but does not
2015 Nov 07
2
Re: mkfs.ext2 succeeds despite nbd write errors?
On Sat, Nov 7, 2015 at 3:02 PM, Richard W.M. Jones <rjones@redhat.com> wrote:
>> I'm not sure where to start with hunting down why mkfs's pwrite()
>> calls aren't failing. I'd look to the kernel source for that?
>
> It looks like it's really an e2fsprogs problem, not a kernel problem.
> That's pretty surprising - I wasn't expecting it.
I
2010 Aug 27
0
[PATCH] Update pwrite to write a full buffer
This patch changes pwrite such that it will never return a short write. This
is a backwards compatible API change, as checking for short writes remains
correct, but redundant.
---
daemon/file.c | 20 +++++++++++++-------
src/generator.ml | 6 ------
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/daemon/file.c b/daemon/file.c
index da899b6..9ce0783 100644
---
2018 Jan 16
1
Re: [nbdkit PATCH 0/7] Initial implementation of FUA flag passthrough
On 01/16/2018 02:25 AM, Richard W.M. Jones wrote:
> I had an idea about how we might do this and still keep a single
> .pwrite method for plugins. Maybe it's too complicated but here goes:
>
>
> This is binary-compatible with old plugins, but not source compatible, so:
>
>
> (2) Plugsin may optionally define NBDKIT_PLUGIN_LEVEL before including
>
2019 Nov 21
5
Extending the nbdkit python plugin
We have an nbdkit plugin that lets you write NBD servers in Python.
An example of an existing Python plugin is here:
https://github.com/libguestfs/nbdkit/blob/master/plugins/python/example.py#L1
This morning I tried to modify the plugin to use the newer nbdkit API
(version 2). One of the things that would change would be passing
flags parameters to some functions, eg:
def pwrite (h, buf,
2023 Aug 31
0
[nbdkit PATCH] sh: Allow pwrite to not consume all data
On Thu, Aug 31, 2023 at 12:05:17PM +0200, Laszlo Ersek wrote:
> On 8/31/23 11:47, Richard W.M. Jones wrote:
> > On Thu, Aug 31, 2023 at 11:12:59AM +0200, Laszlo Ersek wrote:
> >> On 8/31/23 10:02, Richard W.M. Jones wrote:
> >>>
> >>> On Wed, Aug 30, 2023 at 05:21:19PM -0500, Eric Blake wrote:
> >>>> I hit another transient failure in libnbd
2018 Jan 16
0
Re: [nbdkit PATCH 0/7] Initial implementation of FUA flag passthrough
I had an idea about how we might do this and still keep a single
.pwrite method for plugins. Maybe it's too complicated but here goes:
(1) Rename the pwrite method as pwrite_old1, and add new pwrite method
with either the FUA flag or general flags:
int (*pread) (void *handle, void *buf, uint32_t count, uint64_t offset);
- int (*pwrite) (void *handle, const void *buf, uint32_t count,
2023 Aug 31
1
[nbdkit PATCH] sh: Allow pwrite to not consume all data
On Thu, Aug 31, 2023 at 11:18:27AM +0200, Laszlo Ersek wrote:
> On 8/31/23 10:55, Richard W.M. Jones wrote:
> > On Thu, Aug 31, 2023 at 10:40:53AM +0200, Laszlo Ersek wrote:
> >> On 8/31/23 00:21, Eric Blake wrote:
> >>> I hit another transient failure in libnbd CI when a poorly-written
> >>> eval script did not consume all of stdin during .pwrite. As
2018 Jan 19
2
[nbdkit PATCH] Update filters to support FUA flags.
From: "Richard W.M. Jones" <rjones@redhat.com>
This patch may be worth squashing?
---
docs/nbdkit-filter.pod | 65 +++++++++++++++++++++++++++++++++++++++++++------
include/nbdkit-filter.h | 29 ++++++++++++----------
src/filters.c | 55 ++++++++++++++++++++---------------------
3 files changed, 101 insertions(+), 48 deletions(-)
diff --git a/docs/nbdkit-filter.pod
2023 Aug 31
1
[nbdkit PATCH] sh: Allow pwrite to not consume all data
On Thu, Aug 31, 2023 at 10:52:59AM +0100, Richard W.M. Jones wrote:
> > > Other plugins (eg written in C) ignore or
> > > only partially consume the buffer in pwrite all the time, and that's
> > > never a problem.
> >
> > I don't understand.
> >
> > https://libguestfs.org/nbdkit-plugin.3.html#pwrite
> >
> >
2023 Aug 31
1
[nbdkit PATCH] sh: Allow pwrite to not consume all data
On 8/31/23 10:55, Richard W.M. Jones wrote:
> On Thu, Aug 31, 2023 at 10:40:53AM +0200, Laszlo Ersek wrote:
>> On 8/31/23 00:21, Eric Blake wrote:
>>> I hit another transient failure in libnbd CI when a poorly-written
>>> eval script did not consume all of stdin during .pwrite. As behaving
>>> as a data sink can be a somewhat reasonable feature of a
2018 Sep 10
1
question on nbdkit sh plugin
In the just-added nbdkit-sh-plugin.pod, you documented that unlike other
plugins (where introspection or struct member population) can be used to
determine which functionalities are supported, the shell plugin has to
implement can_write and friends to return a special status 2 to document
not supported, and 3 to indicate false, in part because you can't detect
if a pwrite function is
2023 Aug 31
1
[nbdkit PATCH] sh: Allow pwrite to not consume all data
On Thu, Aug 31, 2023 at 10:40:53AM +0200, Laszlo Ersek wrote:
> On 8/31/23 00:21, Eric Blake wrote:
> > I hit another transient failure in libnbd CI when a poorly-written
> > eval script did not consume all of stdin during .pwrite. As behaving
> > as a data sink can be a somewhat reasonable feature of a
> > quickly-written sh or eval plugin, we should not be so
2019 May 28
2
[PATCH] api: Add a special type for the flags argument.
This applies on top of patches 1 & 2 here (instead of patch 3):
https://www.redhat.com/archives/libguestfs/2019-May/msg00206.html
https://www.redhat.com/archives/libguestfs/2019-May/msg00207.html
Rich.
2023 Aug 31
2
[nbdkit PATCH] sh: Allow pwrite to not consume all data
On Thu, Aug 31, 2023 at 11:12:59AM +0200, Laszlo Ersek wrote:
> On 8/31/23 10:02, Richard W.M. Jones wrote:
> >
> > On Wed, Aug 30, 2023 at 05:21:19PM -0500, Eric Blake wrote:
> >> I hit another transient failure in libnbd CI when a poorly-written
> >> eval script did not consume all of stdin during .pwrite. As behaving
> >> as a data sink can be a
2010 Sep 26
2
[PATCH 0/2] Add pwrite-device API call
These two very simple patches add a pwrite-device API call. I have
been conservative and not yet added the equivalent pread-device call,
although that could be added in future.
The motivation for this is in virt-resize: We need a way to zap the
partition table cleanly[1], and obviously parted isn't working out for
us[2]. Using this call we can zap MBR and GPT partition tables by
overwriting