Displaying 20 results from an estimated 200 matches similar to: "[PATCH] Btrfs: fix uncheck memory allocations"
2011 Feb 12
3
[PATCH] fix uncheck memory allocations
To make Btrfs code more robust, several return value checks where memory
allocation can fail are introduced. I use BUG_ON where I don''t know how
to handle the error properly, which increases the number of using the
notorious BUG_ON, though.
Signed-off-by: Yoshinori Sano <yoshinori.sano@gmail.com>
---
fs/btrfs/compression.c | 6 ++++++
fs/btrfs/extent-tree.c | 2 ++
2010 Jul 29
1
[Bug] check return of kmalloc()
Hi,
I''ve discovered that some btrfs code doesn''t check whether kmalloc()
call succeeded. I poorly understand what this code does and how it can
be changed, maybe it would be happy with __GFP_NOFAIL.
Also there are BUG_ON() after kmalloc()''s, if they could be changed not
to panic it would be great.
--- ./fs/btrfs/compression.c 2010-07-06 16:45:48.000000000 +0400
+++
2006 Jan 13
2
[PATCH] unifying error message of migrate and sysrq
This patch unifys error messag of migrate and sysrq.
Signed-off-by: Yoshinori Katase <y_katase@soft.fujitsu.com>
Best Regards,
Yoshinori Katase
diff -r bfcdf4099d23 tools/python/xen/xm/migrate.py
--- a/tools/python/xen/xm/migrate.py Thu Jan 12 13:27:55 2006
+++ b/tools/python/xen/xm/migrate.py Fri Jan 13 15:26:14 2006
@@ -56,8 +56,8 @@
if opts.vals.help:
opts.usage()
2011 Aug 15
9
[patch v2 0/9] btrfs: More error handling patches
Hi all -
The following 9 patches add more error handling to the btrfs code:
- Add btrfs_panic
- Catch locking failures in {set,clear}_extent_bit
- Push up set_extent_bit errors to callers
- Push up lock_extent errors to callers
- Push up clear_extent_bit errors to callers
- Push up unlock_extent errors to callers
- Make pin_down_extent return void
- Push up btrfs_pin_extent errors to
2005 Dec 22
3
bug report of xm list and xm vcpu-list
Hi,
Xm list and xm vcpu-list show wrong DomID(name).
Under this situation,
# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 512 1 r----- 1064.6
test1 13 64 1 r----- 83879.7
# xm list 1 13
Error: Domain ''1'' not found when running ''xm list''
# xm list
2012 Jun 11
0
[PATCH] Btrfs: call filemap_fdatawrite twice for compression V2
I removed this in an earlier commit and I was wrong. Because compression
can return from filemap_fdatawrite() without having actually set any of it''s
pages as writeback() it can make filemap_fdatawait() do essentially nothing,
and then we won''t find any ordered extents because they may not have been
created yet. So not only does this make fsync() completely useless, but it
will
2005 Dec 26
1
[PATCH] symmetricalization of system info command xm info, top, dmesg and log
These xm info, top, dmesg and log requre no parameter.
But log''s error message differs from other 3 command''s error messages,
when parameter is given.
# xm log 1
Error: ''xm log'' requires 0 argument.
log Print the xend log
Other 3 commands ignore parameter.
I think it might be better symmetricalize.
Signed-off-by: Yoshinori
2014 Jan 11
2
[LLVMdev] MachineInstr layer is called as what?
Hi all,
I have learned about LLVM backend passes. LLVM IR changes its format four
times until final output assembly/object through SelectionDAG,
MachineInstr, MCInst.
MCInst format layer seems to be called as "MC layer" officially. What about
MachineInstr format layer? It seems to be called as "MI layer", is it
officially? Please tell me there is good name for representing
2010 Oct 09
0
Btrfs Wiki: Debugging Btrfs with GDB
Hi, this is my first post and contribution to Btrfs.
I wrote a documentation on how to debug Btrfs with GDB on UML(User Mode Linux).
https://btrfs.wiki.kernel.org/index.php/Debugging_Btrfs_with_GDB
This document might be little bit boring for Btrfs hackers,
but for beginners who want to join Btrfs development,
it is worth reading, I think.
(BTW, I''m a beginner, too :D)
Thank you.
--
2012 Jun 15
6
[PATCH] Btrfs: add "nocompress" mount option
In btrfs if we mount with "compress" we have no way to disable
compressing by remounting
(mount -o remount /mnt/btrfs), only by unmounting and mounting without
"compress".
This patch adds "nocompress" mount option which can be used to remount
the filesystem without compression:
# mount -o remount,nocompress /mnt/btrfs
This option is usefull in cases when we have a
2010 Sep 03
0
[PATCH 1/2] btrfs: document where we use BUG_ON instead of error handling
Document those places in the btrfs code which are BUGing on non-fatal error
conditions that should be handled by proper error paths. This makes it
easier to distinguish between what needs fixing versus which BUG_ON''s we
might want to keep (to trap code bugs, unexpected inconsistencies, etc).
Do this with a trivial macro, ''btrfs_fixable_bug_on'' which just defines to
2011 Oct 04
68
[patch 00/65] Error handling patchset v3
Hi all -
Here''s my current error handling patchset, against 3.1-rc8. Almost all of
this patchset is preparing for actual error handling. Before we start in
on that work, I''m trying to reduce the surface we need to worry about. It
turns out that there is a ton of code that returns an error code but never
actually reports an error.
The patchset has grown to 65 patches. 46 of them
2012 Apr 20
44
Ceph on btrfs 3.4rc
After running ceph on XFS for some time, I decided to try btrfs again.
Performance with the current "for-linux-min" branch and big metadata
is much better. The only problem (?) I''m still seeing is a warning
that seems to occur from time to time:
[87703.784552] ------------[ cut here ]------------
[87703.789759] WARNING: at fs/btrfs/inode.c:2103
2013 Mar 06
12
if dentro de for
Buenas,
Me encuentro con el mismo problema, de que me dice que el argumento del if
no es un "valor ausente donde TRUE/FALSE es necesario"
Este es mi codigo de pruebas.
readseq <- "aaaaaaaaaaa", "aaa", "aa")
auxiliar <- count(readseq[j],i+2)
aux_a <- auxiliar["listaa"]
if(aux_a > 0){
matrizgraf3[i][k] = matrizgraf3[i][k] + 1
listaa
2006 Jul 20
1
[RTLWS8-CFP] Eighth Real-Time Linux Workshop 2nd CFP
We apologize for multiple receipts.
--------------------------------------------------------------------------------
Eighth Real-Time Linux Workshop
October 12-15, 2006
Lanzhou University - SISE
Tianshui South Road 222
Lanzhou, Gansu 730000
2006 Feb 05
1
Check/uncheck all checkboxes
Hello!
I have this page where I list all users in a table. There is checkbox in
every row. My User-model has a "checked"-attribute.
I have implemented the checkboxes like this:
<%= check_box("user[]", "checked") %>
Which outputs this:
<input id="user_12_checked" name="user[12][checked]" type="checkbox"
value="1"
2008 Feb 14
0
how to write a bloc in helper to check/uncheck box ?
Hi all
I have a check box in form, and I would like to enable/disable it
according to the value of the check box..
<% form_for(:query, @query,....
<%= f.check_box(:all_categories, :disabled => true, :onchange
=>''javascript:all_categories();'') -%><%=l :All_categories %>
I would like to have something like :disabled => {
@query.all_categories.to_i
2009 May 21
2
Cómo descargar librerías automáticamente?
Buenas tardes para todos,
Me gustaría automatizar la descarga de librerias cuando ejecuto una función
que estoy por terminar. Supongamos que la función se llama foo y require las
librerias A y B. Una manera fácil de cargar las librerias dentro de foo es:
foo <- function(argumentos){
require(A)
require(B)
# hacer transformaciones, cálculos y gráficos aquí
2006 Apr 24
4
javascript in RoR page - Check ALL/uncheck ALL buttons
I am trying to implement a check all and uncheck all button for my check
boxes.
Here is what I have below. I am getting this error each time:
Error: document.myform.add_visit_for_this_Pt has no properties
Source File: http://localhost:3000/AddPatientVisit/addvisits
Line: 1
Strange that I can''t seem to pass value into the function.
Thanks for your help!
<SCRIPT
2011 Apr 05
0
[PATCH] Btrfs: don't split dio bios if we don't have to
We have been unconditionally allocating a new bio and re-adding all pages from
our original bio to the new bio. This is needed if our original bio is larger
than our stripe size, but if it is smaller than the stripe size then there is no
need to do this. So check the map length and if we are under that then go ahead
and submit the original bio. Thanks,
Signed-off-by: Josef Bacik