search for: make_request

Displaying 20 results from an estimated 24 matches for "make_request".

2006 Jan 02
1
Dealing with collections of model objects
...unds simple and I feel that I''m missing something obvious because I can''t figure out a simple way of accomplishing this task. Here''s a more concrete example: ------- app/controllers/request_controller.rb ------- class RequestController < ApplicationController def make_request # session[:resource] has been defined elsewhere.... @answers = session[:resource].prepare_answers end def complete_request answers = Array.new all_good = params[:answers].all? { |a| a = Answer.create!(a) } if all_good...
2005 Feb 03
6
Newbie: Running an application within wine (installed fine)
I had successfully installed BrilliantPhoto with wine, so that I have the directory: file:/home/dotancohen/.wine/c/Program Files/Brilliant Labs/BrilliantPhoto but when I run the command wine /home/dotancohen/.wine/c/Program\ Files/Brilliant\ Labs/BrilliantPhoto/BrilliantPhoto.exe it justs sits there with no output until I ctrl-Z it. Silly me, I even tried to click the icon in Konqueror to start
2019 Apr 11
4
[PATCH v5 1/6] libnvdimm: nd_region flush callback support
...er.bi_sector = -1; > + bio_chain(child, bio); > + submit_bio(child); I understand how this works, but it's a bit too "magical" for my taste. I would prefer that all flush implementations take an optional 'bio' argument rather than rely on the make_request implementation to stash the bio away on a driver specific list. > + } else { > + if (nd_region->flush(nd_region)) > + rc = -EIO; Given the common case wants to be fast and synchronous I think we should try to avoid retpoline overhead by defaul...
2019 Apr 11
4
[PATCH v5 1/6] libnvdimm: nd_region flush callback support
...er.bi_sector = -1; > + bio_chain(child, bio); > + submit_bio(child); I understand how this works, but it's a bit too "magical" for my taste. I would prefer that all flush implementations take an optional 'bio' argument rather than rely on the make_request implementation to stash the bio away on a driver specific list. > + } else { > + if (nd_region->flush(nd_region)) > + rc = -EIO; Given the common case wants to be fast and synchronous I think we should try to avoid retpoline overhead by defaul...
2019 Apr 11
1
[Qemu-devel] [PATCH v5 1/6] libnvdimm: nd_region flush callback support
...(child, bio); > > > + submit_bio(child); > > > > I understand how this works, but it's a bit too "magical" for my > > taste. I would prefer that all flush implementations take an optional > > 'bio' argument rather than rely on the make_request implementation to > > stash the bio away on a driver specific list. > > I did this to make use of "bio_chain" for chaining child bio for async flush > suggested [1]. Are you saying to remove this and just call "flush" based on > bio argument? Or I implemented t...
2011 Dec 28
3
Btrfs: blocked for more than 120 seconds, made worse by 3.2 rc7
Hello all: I have two machines with btrfs, that give me the "blocked for more than 120 seconds" message. After that I cannot write anything to disk, i am unable to unmount the btrfs filesystem and i can only reboot with sysrq-trigger. It always happens when i write many files with rsync over network. When i used 3.2rc6 it happened randomly on both machines after 50-500gb of writes.
2009 Mar 04
5
Sinitra 0.9.1 Webrat 0.4.2 Cuc problem
...ms/rack-0.9.1/lib/rack/lint.rb:39:in `_call'' /Library/Ruby/Gems/1.8/gems/rack-0.9.1/lib/rack/lint.rb:33:in `call'' /Library/Ruby/Gems/1.8/gems/rack-0.9.1/lib/rack/mock.rb:70:in `request'' /Library/Ruby/Gems/1.8/gems/sinatra-0.9.1/lib/sinatra/test.rb:41:in `make_request'' /Library/Ruby/Gems/1.8/gems/sinatra-0.9.1/lib/sinatra/test.rb:44:in `orig_get'' /Library/Ruby/Gems/1.8/gems/webrat-0.4.2/lib/webrat/sinatra.rb:26:in `__send__'' /Library/Ruby/Gems/1.8/gems/webrat-0.4.2/lib/webrat/sinatra.rb:26:in `get'' /Library/...
2011 Jan 11
3
Warcraft III Frothen Throne
Hi.. First, Sorry with my bad english, i'm from Latvia I have Ubuntu 10.10 Maveric
2001 Jan 19
2
building ext3 as a module
...ion `refile_buffer': fs/fs.o(.text+0x341f): undefined reference to `journal_remove_checkpoint' drivers/block/block.a(ll_rw_blk.o): In function `add_request': ll_rw_blk.o(.text+0x568): undefined reference to `jfs_preclean_buffer_check' drivers/block/block.a(ll_rw_blk.o): In function `make_request': ll_rw_blk.o(.text+0x75b): undefined reference to `jfs_prelock_buffer_check' ll_rw_blk.o(.text+0xced): undefined reference to `jfs_preclean_buffer_check' make: *** [vmlinux] Error 1 The modularity of jfs is tied to the modularity of ext3 in the config files so it gets made as a module...
2019 Apr 11
0
[Qemu-devel] [PATCH v5 1/6] libnvdimm: nd_region flush callback support
...bio_chain(child, bio); > > + submit_bio(child); > > I understand how this works, but it's a bit too "magical" for my > taste. I would prefer that all flush implementations take an optional > 'bio' argument rather than rely on the make_request implementation to > stash the bio away on a driver specific list. I did this to make use of "bio_chain" for chaining child bio for async flush suggested [1]. Are you saying to remove this and just call "flush" based on bio argument? Or I implemented the 'bio_chain'...
2008 Jun 18
2
Trouble brewing in dmesg... any ideas?
...[<c04202b1>] default_wake_function+0x0/0xc [<c06046b9>] schedule+0x90d/0x9ba [<c0436066>] autoremove_wake_function+0xd/0x2d [<c042daae>] lock_timer_base+0x15/0x2f [<c042dbbf>] __mod_timer+0x99/0xa3 [<c04d7a49>] blk_plug_device+0x5e/0x85 [<f884e2e2>] make_request+0x520/0x52a [raid1] [<f8860679>] journal_stop+0x1b0/0x1ba [jbd] [<c041fa31>] enqueue_task+0x29/0x39 [<c041f8de>] task_rq_lock+0x31/0x58 [<c04202a7>] try_to_wake_up+0x371/0x37b [<c041ea84>] __wake_up_common+0x2f/0x53 [<c041f871>] __wake_up+0x2a/0x3d [<c0...
2012 Feb 20
4
Workarounds for Splinter Cell: Conviction
...{ SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; } Comment out (or delete) the SetLastError line and change the return value to TRUE. (the FALSE statement cause the ASSERT ret() failure some people talked about with Unreal Engine based games.) 3. execute the following: # ./tools/make_requests 4. Do your normal configure, make, make install steps. 5. Run winecfg so it can update your settings and you can review yours. (Note: I have set my global windows version to win2003. Just saying that here in case it might be important. Haven't tested it with any other version.) 6. run reged...
2015 Dec 25
0
Wine release 1.9.0
...kernel32/tests: Remove unnecessary call to GetExitCodeProcess in process tests. ntdll: ProcessDebugFlags should return debug_children flag instead of !debugger_present. server: Fix assignment of primary_group in token_duplicate. tools: Remove redundant check for request size in make_requests. advapi32: Add stubs for RegCreateKeyTransacted[A/W] functions. ntdll/tests: Add more tests for SystemHandleInformation. kernel32/tests: Add test for process object destruction. pdh: Fix prototype of PdhGetLogFileType[A/W]. Thomas Faller (1): ntdll: Fix valgrind heap...
2008 Dec 20
0
Wine release 1.1.11
.... wininet/tests: Use new test URLs on test.winehq.org. server: Define an lparam_t type for message parameters that can hold all sorts of data. server: Windows properties are actually generic params, not handles. tools: Re-use the file updating routines from make_makefiles in make_requests. tools: Keep track of requests sizes and alignments in make_requests. ntdll: Add a heuristic to detect dlls that are wrongly marked as using native subsystem. cabinet: Don't allocate a huge buffer on the stack. ntdll: Enforce correct protection values in virtual memory...
2007 Apr 13
0
Wine release 0.9.35
...l32: Added some last error tests for mailslots. server: Add a separate function to set the timeout of an async I/O operation. server: Make timeout status for async I/O specifiable. Fix mailslots timeout handling. server: Hold a pointer to the queue from the async operations. make_requests: More aggressive grepping for status values. server: Add support for associating a file descriptor to a message queue. winex11.drv: Store the display file descriptor directly in the server message queue. server: Fix the handling of the signaled status for file descriptors....
2008 Nov 07
0
Wine release 1.1.8
...ot cast zero. crypt32: Remove superfluous casts of void pointers. iphlpapi: Do not cast zero. user32: Remove superfluous casts of void pointers. fusion: Remove superfluous casts of void pointers. shell32: Use FIELD_OFFSET instead of hand coding its functionality. make_requests: Do not generate code that casts zero to a pointer. shell32: Remove superfluous casts; mostly of void pointers. ole32: Remove some superfluous casts of void pointers and zero. shlwapi: Remove superfluous casts of/to void pointers. comdlg32: Remove superfluous casts of void...
2007 Jan 09
0
Wine release 0.9.29
...r: Avoid crash in alloc_console when the process has no parent. server: Make thread_apc into a real object. server: Notify the server that an APC has completed in the next get_apc call. server: Add a generic apc_call structure to make it easier to extend, and more type-safe. make_requests: Grab status names from async_terminate calls too. server: Don't fail to map a shared section if the final sector is truncated. dsound: The dsconf.h GUIDs are now in libdxguid. Update copyright info for the new year. Andrew Talbot (26): sane.ds: Qualify use of WINE_DEF...
2009 Jun 05
0
Wine release 1.1.23
...r: Only add mime types that aren't already in freedesktop. winemenubuilder: Ignore wine.desktop managed file types. winemenubuilder: Associate file open applications with freedesktop. winemenubuilder: Track, update and clean up file open associations. Daniel Santos (1): make_requests: Correct comment in header (minor patch). Detlef Riekenberg (18): mlang/tests: Use a table for testing GetLcidFromRfc1766. mlang/tests: Initial tests for Rfc1766ToLcid. mlang/tests: Return correct result in Rfc1766ToLcidA on failure. mlang/tests: Rfc1766ToLcid must not tou...
2010 Apr 11
7
dom0 crash, require assistance interpretting logs and config suggestions
...f8800e2ad2700 00000000e02c2528 Apr 11 04:24:42 xenserver kernel: [277246.633450] 00000000ffffffff ffff880093da90c0 000000000000ffff 000000007470593f Apr 11 04:24:42 xenserver kernel: [277246.633465] Call Trace: Apr 11 04:24:42 xenserver kernel: [277246.634648] [<ffffffff802ff7a6>] generic_make_request+0x2fe/0x339 Apr 11 04:24:42 xenserver kernel: [277246.634664] [<ffffffffa0232413>] :md_mod:md_super_wait+0xee/0x107 Apr 11 04:24:42 xenserver kernel: [277246.634674] [<ffffffff8023f4e5>] autoremove_wake_function+0x0/0x2e Apr 11 04:24:42 xenserver kernel: [277246.634688] [<ffffff...
2009 Jan 30
0
Wine release 1.1.14
...missing void in empty parameter list. Alexandre Julliard (67): user32/tests: Fix some more msg test failures and improve message sequence tracing. kernel32: LCMapString should include the terminating NULL also for LCMAP_SORTKEY. server: Generate padding in request structures from make_requests. server: Store process/thread affinity as a 64-bit value. wintrust/tests: Clean up temp files after test. libwine: Add support in cpmap.pl for parsing the Windows bestfit codepage files. libwine: Enable perl warnings and use strict in cpmap.pl. libwine: Re-generate th...