Displaying 20 results from an estimated 82 matches for "file_opened".
Did you mean:
  file_open
  
2018 Aug 19
0
[PATCH v4 4/4] file: Zero for block devices on old kernels
fallocate(FALLOC_FL_ZERO_RANGE) is supported for block devices with
modern kernel, but when it is not, we fall back to manual zeroing.
For block device, try also to use ioctl(BLKZEROOUT) if offset and count
are aligned to block device sector size.
Here is an example run without this change on RHEL 7.5:
$ export SOCK=/tmp/nbd.sock
$ export
2018 Aug 03
0
[PATCH v2 4/4] file: Zero for block devices on old kernels
fallocate(FALLOC_FL_ZERO_RANGE) is supportd for block devices with
modern kernel, but when it is not, we fall back to manual zeroing.
For block device, try also to use ioctl(BLKZEROOUT) if offset and count
are aligned to block device sector size.
Here is an example run without this change on RHEL 7.5:
$ export SOCK=/tmp/nbd.sock
$ export
2011 Jul 28
3
efilinux release 0.8
Hi,
I'm pleased to announce release 0.8 of efilinux, a reference
implementation of a minimal UEFI bootloader. This bootloader has no
bells or whistles, it is simply a prototype with the minimum amount of
smarts required to load a linux kernel (though loaders for other formats
could be added).
Currently it only supports booting x86-64 bzImages but i386 support is
planned for release 0.9, with
2018 Aug 19
9
[PATCH v3 0/4] file: Zero for block devices and older file systems
This version addresses comments on v3.
Changes since v3:
- Finally got spacing right (Eric)
- Reorder includes (Richard)
- Return 0 or -1 instead of r (Richard)
- Add common/include/isaligned.h to Makefile.am (Richard)
v3 was here:
https://www.redhat.com/archives/libguestfs/2018-August/msg00177.html
Nir Soffer (4):
  file: Avoid unsupported fallocate() calls
  file: Support zero without
2014 Dec 16
2
Samba "%G" replacement not working in "Logon script" ?
Dear all, 
I experience now a strange bug with Samba 4.1.11 : 
When I define a fixed-name as logon script in smb.conf, it works : 
logon script = employee.bat 
But if I try either %g.bat or %G.bat, or even "%G.bat", it doesn't work
: 
 	* logon script = %g.bat
 	* logon script = %G.bat
 	* logon script = "%G.bat"
In the logs, there was a message showing that Samba was
2016 Apr 28
1
poor samba performance with many smaller files
I removed the O_CREAT|O_EXCL checks and added check to exclude O_DIRECTORY,
but it is not working, opening of files fails and I don't know why.
I can see in strace logs that openat syscall in vfs_aio_pthread was
successful, but it still fails and this messages are logged:
[2016/04/28 13:28:59.691782,  5, pid=5623, effective(32697, 10513),
real(32697, 0)]
2017 Nov 21
1
[nbdkit PATCH] file: Diagnose a missing file earlier
If a user typos the filename for the file plugin, they do not
find out about it until later when the first client gets an
abrupt hangup, when file_open() fails to open things.  Better
is to avoid starting a server at all if the file doesn't exist
yet.
While at it, avoid a memory leak if the caller passes a file=
argument more than once.
Signed-off-by: Eric Blake <eblake@redhat.com>
---
2018 Aug 02
10
[PATCH 0/3] file: Zero for block devices and older file systems
This is the second version to support efficient zero for block devices
on older kernels (e.g. RHEL 7.5), and file systems that do not support
yet FALLOC_FS_ZERO_RANGE (e.g. NFS 4.2).
Changes since v1:
- Split to smaller patches
- Skip linux only includes on other systems
- Skip code using BLKZEROOUT if the macro is not defined
- Try BLKZEROOUT only if the offset and count are aligned to device
 
2016 Oct 21
3
CTDB and locking issues in 4.4.6 (Classic domain)
> I've now managed to replicate the error on my test setup. I added a 
> third host and all hell broke loose - no locking at all when opening 
> Excel files apart from same-host. It seemed fine with two.
>
> I then downgraded to 4.4.5 and the problem persisted. So it cannot be 
> a regression from that patch.
>
> Regards,
>
> Alex
>
Here you go:
Locked files:
2010 Jul 06
0
*update* SMB Trans2 Response STATUS_OBJECT_NAME_NOT_FOUND Problem
...problem happen with smb: \> allinfo autoexec.bat as well as many
other files.
*update*
Using FileSpy (from osronline.com) i can see the following, in response to
the allinfo command:
C:\autoexec.bat STATUS_SUCCESS FILE_OPEN CreOpts: 00200000 Access: 00000080
Share: 00000007 Attrib: 0 Result: FILE_OPENED  <-- So it shouldn't be a
permissions issue
System  ... IRP_MJ_QUERY_INFORMATION  ..C:\autoexec.bat
STATUS_OBJECT_NAME_NOT_FOUND    FileAlternateNameInformation
FileAlternateNameInformation - From
http://msdn.microsoft.com/en-us/library/cc232089%28PROT.10%29.aspx
"This information cla...
2020 Aug 07
0
[nbdkit PATCH 2/4] file: Add .list_exports support
Add a new mode to the file plugin, using directory=DIR instead of
[file=]FILE, to allow it to serve all regular/block files in a given
directory, as well as advertising the names of those files it will be
serving.
Signed-off-by: Eric Blake <eblake@redhat.com>
---
 plugins/file/nbdkit-file-plugin.pod |  28 +++++-
 tests/Makefile.am                   |   4 +-
 plugins/file/file.c             
2018 Aug 02
0
[PATCH 3/3] file: Zero for block devices on old kernels
fallocate(FALLOC_FL_ZERO_RANGE) is supportd for block devices with
modern kernel, but when it is not, we fall back to manual zeroing.
Check if the underlying file is a block device when opening the file,
and fall back to ioctl(BLKZEROOUT) for aligned zero requests for a
block device.
Here is an example run without this change on RHEL 7.5:
$ export SOCK=/tmp/nbd.sock
$ export
2014 Dec 21
2
Samba "%G" replacement not working in "Logon script" ?
Dear Ricky, 
Thanks a lot for your answer. But I still have two problems: 
1. I am not using samba as AD DC but as PDC. 
2. What I would need is the primary group... Do you thinks %WORKGROUP%
could work ? 
3. And should I use %WORKGROUP% in smb.conf or in batch login script... 
Thanks a lot in advance for your help... 
Denis 
Le 18.12.2014 21:58, Ricky Nance a ?crit : 
> Dennis, if you
2018 Aug 18
7
[PATCH v3 0/4] file: Zero for block devices and older file systems
This version addresses some of the comments on v2.
Changes since v2:
- file_zero: Add missing space in function call
- is_aligned: Assert that align is indeed a power of 2
- Spelling in commit message
Not changed:
- Eric commented that spacing was off:
  https://www.redhat.com/archives/libguestfs/2018-August/msg00113.html
  but I could not find anything wrong.
- Eric asked if ioctl.h will cause
2018 Aug 03
10
[PATCH v2 0/4] file: Zero for block devices and older file systems
This is the third version to support efficient zero for block devices
on older kernels (e.g. RHEL 7.5), and file systems that do not support
yet FALLOC_FS_ZERO_RANGE (e.g. NFS 4.2).
Changes since v2:
- Revert file_can_trim change, since it is too late to change the value
  after negotiation. Changing the capability dinamically may be useful
  internally, but it should be done via other means.
-
2016 Oct 22
5
CTDB and locking issues in 4.4.6 (Classic domain)
Hi Ralph,
I applied the patch to a new build of Sernet 4.4.6 SRPM. I could still
open the file from both hosts, and in fact this time I could actually
open it on the same host without any problems:
host 1:
smbclient -U ajc //172.31.0.120/ifa_v
...
smb: \jmi\Corporate Accounting\ISL Ltd Accounts\2016\1609\> open "201609
213_ ISL Balance sheet variance analysis.xls"
open file
2018 Aug 02
0
[PATCH] file: Zero support for block devices and NFS 4.2
If we may not trim, we tried ZERO_RANGE, but this is not well supported
yet, for example it is not available on NFS 4.2. ZERO_RANGE and
PUNCH_HOLE are supported now on block devices, but not on RHRL 7, so we
fallback to slow manual zeroing there.
Change the logic to support block devices on RHEL 7, and file systems
that do not support ZERO_RANGE.
The new logic:
- If we may trim, try PUNCH_HOLE
-
2007 Oct 23
1
exporting an FUSE base file system to windows
Hi,
What I wanted to do was to export an FUSE based filesystem mounted 
on linux to a windows box using samba. 
I can browse and navigate the fuse filesystem without problems 
on the linux box. With smbd running I can even navigate the filesystem 
using smbclient.
Unfortunately when I try to access the exported file system from WinNT
the mountpoint of the filesystem shows up as a zero size file
2018 Jan 31
1
[nbdkit PATCH] file: Add trim support
We already have support in the file driver for punching holes
during .zero with the may_trim flag (via FALLOC_FL_PUNCH_HOLE),
so we should use the same mechanism to support .trim.  Note that
the NBD spec says that trim is advisory (we can return success
even if we did nothing); but at the same time, it's nicer to
avoid advertising the feature if we know for sure we can't do
it, so we also
2020 Feb 10
2
[nbdkit PATCH 05/10] plugins: Wire up file-based plugin support for NBD_INFO_INIT_STATE
The NBD protocol is adding an extension to let servers advertise
initialization state to the client: whether the image contains holes,
and whether it is known to read as all zeroes.  For file-based
plugins, we are already probing lseek(SEEK_HOLE) to learn if extents
are supported; a slight tweak to remember if that result is EOF tells
us if we are sparse, and a similar lseek(SEEK_DATA) returning