similar to: sync always, strict sync, cache question

Displaying 20 results from an estimated 2000 matches similar to: "sync always, strict sync, cache question"

2010 Mar 25
4
CreateFile \\\\.\\x: non-root
Hello, I have a usb data aquisition device interfaced by mass storage protocol. I open it like: hEcgDrive=CreateFile("\\\\.\\g:", GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH | FILE_FLAG_OVERLAPPED, NULL); for communication I use DeviceIoControl(hEcgDrive,
2017 Oct 09
2
Linux vs. Windows SMB buffering
> The Linux client is asking for SMB1 and using 1MB write sizes. > > The Windows client is using SMB2 and *NOT ASKING FOR LEASES*. > > This is why the performance is terrible. Because the file > as no lease, the Windows redirector must pass every single > WriteFile() system call onto the wire, no matter how small > the size. > > If you can get the Windows SMB2 client
2006 Mar 27
1
Running SQL over SAMBA?
Hi All, Does anyone run SQL and/or exchange on SAMBA server share? Are there any special considerations to take? would you be kind enough to share your experience doing it? Any special smb.conf configuration is required? is there any performance issue or functional limitations supporting it? I am just wondering since Microsoft encourages block level access over share/file level access.
2019 Jul 14
2
Build error due to Waf task dependency cycle in run_after
Dear all, trying to build some Heimdal-based packages for Samba AD DC under openSUSE I am facing some difficulties with the build system: During the installation which is triggered by "make install" waf complains about some task dependency cycle after leaving folder bin/default. Full log including config options can be seen unter https://build.opensuse.org/
2011 Mar 28
3
[LLVMdev] Accessing metadata & creating DIVariable
Hi, I am wondering if someone can guide me in adding metadata to IR which already contains some metadata. I am trying to add dbg.declare inst for a local variable I added to a function. I used the DIBuilder to build a DIVariable. When I try to compile llc fails with following message. llc: MCAsmStreamer.cpp:273: virtual void<unnamed>::MCAsmStreamer::EmitLabel(llvm::MCSymbol*): Assertion
2011 Mar 29
1
[LLVMdev] Accessing metadata & creating DIVariable
>>> I am  adding local var to existing IR with debug info. I am not using >>> the Pass infrastructure. >>> >>> void InsertDbg(AllocaInst *i, StringRef varname, Instruction, inserbefore) >>> { >>> >>> DIBuilder di(*module); >>> cu = di.createCU        / * How do I get the MDNode of  already in the >>> IR . Instead of
2004 Nov 11
2
File.open on a directory?
Hi all, Windows 2000 Ruby 1.8.2 RC9 Is it possible to call File.open on a directory in Windows? I always get Errno::EACCES, even though there are no special settings on the directories I''ve tried and I have full access. Dan
2009 Jun 19
2
Cisco 7941G & Auth
Hi, I use Asterisk-1.4.22-3 (on Trixbox) and I have a problem with Cisco 7941G with firmware SIP41.8-0-2SR1S (but also with SIP41.8-3-1S), my problem is that Cisco phone isn't authenticated on Asterisk. In tftp directory I have: apps41.1-1-1-15.sbn cnu41.3-1-1-15.sbn copstart.sh cvm41sip.8-0-1-18.sbn dialplan.xml dsp41.1-1-1-15.sbn jar41sip.8-0-1-18.sbn load115 load308 load309 load30018
2004 Aug 06
2
Please 30 second to look a my code
Hi i'm developing a sort of VoIP application for my ipaq using speex... I'm still at beginning and i have many problems encoding and decoding my wav files....output is only noise! Why? I'm using Libspeex 1.1.3, Embedded VisualC++ 3.0, Ipaq 3850(206 MHz Intel® Strong ARM 32-bit RISC Processor) PocketPC 2002 (Windows CE 3.0). Libspeex is complied with the definition of
2004 Nov 06
3
Calling CreateFile on an instance of File - possible?
Hi all, I''m going over win32-file this weekend. I''m creating instance methods for setting (or unsetting) the various file attributes. So, you can do something like: f = File.open("foo.txt") f.archive = true f.hidden = true f.close This works for the basic attributes, but it requires extra work for others. Specifically, I am having trouble trying to set the
2018 Nov 11
3
A stage2 build causes changes to libllvm impacting program using it (exemple: rustc)
Hello, Lately, I have been working on moving Debian & Ubuntu packages to a stage2 build. This means that, instead of shipping llvm-toolchain packages built with gcc, we are rebuilding everything a second time using the newly built clang. Now, when pushed to Debian, it caused some unexpected issues in particular with rust reported here:
2017 Oct 09
0
Linux vs. Windows SMB buffering
On Mon, Oct 09, 2017 at 08:29:43PM +0000, Will Lucas wrote: > > The Linux client is asking for SMB1 and using 1MB write sizes. > >  > > The Windows client is using SMB2 and *NOT ASKING FOR LEASES*. > >  > > This is why the performance is terrible. Because the file > > as no lease, the Windows redirector must pass every single > > WriteFile() system call
2004 Nov 11
3
File.nopen alpha
Hi all, I''ve committed an alpha version of File.nopen (native open) to win32-file. This is a wrapper for CreateFile(). A quick synopsis: * File.nopen(file,access_mode,share_mode,creation_mode,flags) * * A ''native'' open method. This uses CreateFile() behind the scenes instead of * the _open() function. This allows much greater flexibility when it comes * to
2008 Mar 10
3
how to override dll
I notice that there are some proxy dll inside system32 eg. comctl32.dll, What is the correct procedure to override it? Is that OK that just to copy my native comctl32.dll to overwrite that dll and then run winecfg to set the override tab? And if that proxy dll was overwritten, how to restore to use built-in version? regards,
2012 May 08
3
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
On May 8, 2012, at 3:41 PM, Michael Spencer wrote: > On Mon, May 7, 2012 at 12:56 PM, Nick Kledzik <kledzik at apple.com> wrote: >> For the reasons listed in my 03-May-2012 email, I am proposing a new >> llvm/Support class for using in writing binary files: >> >> /// OutputBuffer - This interface provides simple way to create an in-memory >> /// buffer
2012 May 07
4
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
For the reasons listed in my 03-May-2012 email, I am proposing a new llvm/Support class for using in writing binary files: /// OutputBuffer - This interface provides simple way to create an in-memory /// buffer which when done will be written to a file. During the lifetime of /// these objects, the content or existence of the specified file is undefined. /// That is, creating an OutputBuffer
2013 Apr 20
1
One tiny Windows Unicode patch
I have been doing some heavy testing with the new FLAC version, and I found that CreateFile function in grabbag had been left out of UTF-8 treatment at some point. This causes re-encoding an existing flac to the same name to break the file if it contains non-ascii characters. Attached patch fixes this. -------------- next part -------------- diff --git a/include/share/win_utf8_io.h
2012 May 08
0
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
On Mon, May 7, 2012 at 12:56 PM, Nick Kledzik <kledzik at apple.com> wrote: > For the reasons listed in my 03-May-2012 email, I am proposing a new > llvm/Support class for using in writing binary files: > > /// OutputBuffer - This interface provides simple way to create an in-memory > /// buffer which when done will be written to a file. During the lifetime > of >
2003 May 20
1
[ANNOUNCE] syslinux for win2k/winxp
Hi I have ported syslinux to win2k/winxp. It is attached. It has been tested with floppies and flashcards, but not on harddisks. On harddisks I'm not sure if I should use \\.\PHYSICALDRIVEX or \\.\X: as arguments to CreateFile (I'm no windows wiz) and I do not currently have a system to test this on. The program can be compiled using mingw or in cygwin using the option -mno-cygwin
2006 Aug 06
3
Platform performance comparisons
I''m in the process of developing a Rails application. Currently there is some debate as to the final deployment platform. I''m in favor of using some flavor of linux. However, there are some more "risk averse" co-workers who would prefer to deploy on Windows and, more specifically, IIS. I have heard that Ruby is much slower on Windows than Linux, but I have been