similar to: PATCH: btrfs ioctl for waiting for kernel cleaner thread task completions kernel code

Displaying 20 results from an estimated 3000 matches similar to: "PATCH: btrfs ioctl for waiting for kernel cleaner thread task completions kernel code"

2019 Oct 30
0
[PATCH 3/3] virtiofs: Use completions while waiting for queue to be drained
While we wait for queue to finish draining, use completions instead of uslee_range(). This is better way of waiting for event. Signed-off-by: Vivek Goyal <vgoyal at redhat.com> --- fs/fuse/virtio_fs.c | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/fs/fuse/virtio_fs.c b/fs/fuse/virtio_fs.c index 43224db8d9ed..b5ba83ef1914 100644
2014 Sep 30
2
[LLVMdev] size_t?
I'm getting compile errors because size_t is getting redefined. My "forced include file" starts with: #if BUILDING_FOR_WINDOWS #define NOMINMAX /* deal with the fact that windef.h also defines BOOL */ #define BOOL WINBOOL #include <windows.h> #include <intrin.h> #undef BOOL #endif Looking at the preprocessor expansion of a typical .cpp file, I see that crtdefs.h
2004 Oct 16
0
Re: [Ocfs2-commits] manish commits r1580 - trunk/src
On Fri, Oct 15, 2004 at 03:51:12PM -0500, svn-commits@oss.oracle.com wrote: > Author: manish > Date: 2004-10-15 15:51:10 -0500 (Fri, 15 Oct 2004) > New Revision: 1580 > > Modified: > trunk/src/suballoc.c > Log: > cast bitops on bg_bitmap to unsigned long * Are these disk or core structures? IF core please just make them unisgned long, if they're ondisk you just
2013 Feb 20
1
[PATCH] Btrfs: fix cleaner thread not working with inode cache option
Right now inode cache inode is treated as the same as space cache inode, ie. keep inode in memory till putting super. But this leads to an awkward situation. If we''re going to delete a snapshot/subvolume, btrfs will not actually delete it and return free space, but will add it to dead roots list until the last inode on this snap/subvol being destroyed. Then we''ll fetch deleted
2014 Sep 30
2
[LLVMdev] size_t?
Hi Reid, I copied the x64 toolsets by hand; they got installed to C:\Program Files (x86)\LLVM\tools\msbuild\x64; they just didn't get moved correctly by install.bat. I just verified that the LLVM-vs2013 toolset.props is correct. If it is a bitness problem, perhaps I'm failing to define something correctly? Regards, Eric On 9/30/14, 11:29 AM, Reid Kleckner wrote: > This looks
2014 Oct 01
2
[LLVMdev] size_t?
I believe that we provide a definition of size_t inside the compiler itself when clang is in MSVC compatibility mode. On Tue, Sep 30, 2014 at 5:51 PM, Eric Mader <emader at gmx.us> wrote: > I did some more investigation of the size_t size error. I misunderstood > what was happening. It turns out that size_t is already defined before my > prefix header is included. I added the
2011 Apr 14
0
completely revised ioctl for notification of when all space from a snapshot delete is freed and similar
I have started rewriting the ioctl#21 patch using a less hacky architecture, including defining a new kind of structure that explicitly organizes information common to delayed/deferred systems, (the list of work pieces, and an atomic for counting active worker threads) and replacing the lists of work pieces, in ioctl#21-tracked deferred systems, with this structure instead. I started march 25,
2006 Jan 23
3
running a background task/thread in rails?
Hi, I am new to ruby and to rails, but I like what I see so far. I have been working on a web app in java (servlets and JSPs) that, based on a request from the user, kicks off a thread in the background to perform a task (puts messages in an MQSeries queue). The thread object is stored in the session and I then allow the user to control the task from the browser(like stop it). Is the same
2014 Oct 01
2
[LLVMdev] size_t?
We inject a typedef for size_t here: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/Sema.cpp?revision=218230&view=markup#l206 The typedef type is determined by calling getSizeType(). SizeType is (relevantly) calculated in two places: X86_64 http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?revision=218666&view=markup#l3512 X86_32
2006 Jun 08
0
Cleaner way to do this
is there a cleaner way to achieve this? // Is this the correct way? def show_servers @server_pages, @switch_servers = paginate :servers, :conditions=>["id in (select server_id from server_interfaces where server_interfaces.switch_interface_id in (select id from switch_interfaces where switch_id = ?) )",params[:id]], :per_page => 20, :order => "name" render
2006 Mar 02
0
Cleaner code in rails view
Hi all. Saw this trick on the ruby-talk list and wanted to share my use of it in a Rails view. Some other code allowed a record to be posted to the DB w/o a good referential link. IOW, the FK in the record pointed to a missing record in the linked to table. The Rails view just spit out an attribute of the linked table and that caused the app to crash because table1.table2 was nill and
2007 Feb 27
0
^*^ Best PC Optimizer and PC Cleaner ^*^
* [image: Best PC Optimizer] <http://www.awpedia.com/downloads/cCleaner/>** Over 48 million downloads!!!* * CCleaner <http://www.awpedia.com/downloads/cCleaner/> is a freeware system optimization and privacy tool. It removes unused files from your system - allowing Windows to run faster and freeing up valuable hard disk space. It also cleans traces of your online activities such as
2011 Mar 23
0
Passing NilClass To Create & MiniTest Backtrace Cleaner
Morning All! Some things I noticed while playing with 3.1 master last night. 1) When using the #create! method on an association and pass "nil" vs an empty hash, now fails silently with no warning or anything. It''s almost like a no-op. I did not test to see if this behavior occurred on a basic model or not. My app''s controller was setup in such a way that I would
2002 Sep 11
1
[LLVMdev] Cleaner gmake output
Compiling with "gmake" should produce less output. The compilation/linking flags are always the same anyway, who wants to see so much text on the screen? Compiling with "gmake VERBOSE=1" should produce all the output you're used to. So, here's a patch to do the above: /home/vadve/brukman/research/patches/0911-makefile-verbose Basically it checks for VERBOSE being
2008 Nov 11
3
Use the NEW ulaw/alaw codecs (slower, but cleaner)
In Asterisk 1.6, there is an option to use the 'new g.711 algorithm'. "Use the NEW ulaw/alaw codec's (slower, but cleaner)" By slower does this mean more 'expensive', or does it instead mean that there will be more algorithmic latency? Both? Can anyone speak to the relative increases? With regard to accuracy, can anyone speak to what kind of situation might
2006 Feb 21
3
must be a cleaner way to do this ...
Am trying to do a bulk entry facility for some project or other. It works but it feels ugly. I generate a form with twenty empty input fields: %= form_tag("action" => "enter_stuff") %> <% (1..20).each do |line| %> <div id="line<%= line %>"> <%= line %> <<%= text_field("action", "name",
2006 Oct 17
1
looking for a cleaner way to do something
I have two numeric vectors each of length 17 and each is named the exact same way. so obsnum ppppp ppppm pppmp . dot dot dot...... temp1 is 1417 52 63 85 obsnum ppppp ppppm pppmp . dot dot dot...... temp2 is 1213 41 50 97 what i want to have is a resultant matrix with 2 rows and 16 columns where the 16
2012 Mar 13
4
minitest validations - is there a cleaner way?
i am trying out minitest, but need some advice on a clean way to test validations. I setup my testing to use minitest by following the following railscast plus i added miniskirt for Factories. http://railscasts.com/episodes/327-minitest-with-rails everything works well, but there has to be a cleaner way of testing failed validations. would i be better off using something besides
2009 Mar 04
6
1 Server, Multiple Client Setup
Hello, I have tried for days on end with no success on this, so I thought I would post it here and see if someone can help me at all. *Here's the scenario:* I have 1 PC with a Static IP/Domain (a dyndns.org account - myserver.homeip.net) connected to a router, which in turn is the gateway to the internet. It also has a static local IP (192.168.1.2). I will call this the "server"
2007 May 08
2
Looking for a cleaner way to implement a setting certain indices of a matrix to 1 function
I wrote an ugly algorithm to set certain elements of a matrix to 1 without looping and below works and you can see what The output is below the code. K<-6 lagnum<-2 restrictmat<-matrix(0,nrow=K,ncol=K*3) restrictmat[((col(restrictmat) - row(restrictmat) >= 0 ) & (col(restrictmat)-row(restrictmat)) %% K == 0)]<-1 restrictmat[,(lagnum*K+1):ncol(restrictmat)]<-0 restrictmat