Displaying 20 results from an estimated 31 matches for "clear_cach".
Did you mean:
clear_cache
2017 Jan 26
2
compiler-rt linux-arm builtins/clear_cache.c depends on kernel headers
builtins/clear_cache.c depends on kernel headers.
It's difficult to ascertain whether it's mixing with libc headers
but if it is then that's a bug in its own right.
Either way, it's pulling in kernel headers for a single #defined
constant that's been part of the linux ABI for years now. This
makes...
2018 Apr 15
1
__clear_cache / clear_cache.c
projects/compiler-rt/lib/builtins/clear_cache.c
I suggest two small changes here.
1. Mark it however required to avoid inlining, i.e. for the x86/amd64 case.
Control transfer is required. I realize it is likely anyway, you aren't likely
to "fall from" the caller into the code.
2. #elif defined(_WIN32) && (defined(__ar...
2017 Feb 12
2
compiler-rt linux-arm builtins/clear_cache.c depends on kernel headers
Hmm, I dont think that this is terrible. However, since I dont belive that
Linux guarantees the stability of its interfaces, I think that adding a
trivial test for this would be waranteed.
On Sun, Feb 12, 2017 at 2:26 PM, Renato Golin <renato.golin at linaro.org>
wrote:
> On 26 January 2017 at 10:57, Joakim Sindholt via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> >
2013 Nov 10
2
BTRFS error after clearing cache
Hello,
I wanted to make sure that my boot slowdown was related to space_cache so I rebooted the PC several times and it did become slower again. What is more, it doesn''t seem like I even need to generate any actual IO traffic to trigger this.
I thought I might give clear_cache a shot again and to test the boot speed with nospace_cache as well. After first booting with clear_cache,nospace_cache and nospace_cache afterwards I was unhappy about the boot speed, so I decided to clear the nospace_cache argument so that the cache would be rebuilt. However, even though my boot...
2011 Nov 11
1
[PATCH] btrfs: rename the option to nospace_cache
...1,7 +711,7 @@ static int btrfs_show_options(struct seq_file *seq, struct vfsmount *vfs)
if (btrfs_test_opt(root, SPACE_CACHE))
seq_puts(seq, ",space_cache");
else
- seq_puts(seq, ",no_space_cache");
+ seq_puts(seq, ",nospace_cache");
if (btrfs_test_opt(root, CLEAR_CACHE))
seq_puts(seq, ",clear_cache");
if (btrfs_test_opt(root, USER_SUBVOL_RM_ALLOWED))
--
1.7.6
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majo...
2010 Nov 19
0
[PATCH] Btrfs: handle the space_cache option properly
So when I added the clear_cache option I screwed up and took the break out of
the space_cache case statement, so whenever you mount with space_cache you also
get clear_cache, which does you no good if you say set space_cache in fstab so
it always gets set. This patch adds the break back in properly. Thanks,
Signed-off-by: Jos...
2011 Jun 22
1
[LLVMdev] __clear_cache on arm
Hi,
What is the reason for excluding clear_cache.c from ARM builds of compiler_rt?
Where __clear_cache is defined in that case?
Thanks,
Damjan
2013 May 24
0
[LLVMdev] ARM __clear_cache fix for compiler-rt when compiling Python
...ctypes module for Python on
FreeBSD from Keith White (I'm in no position to judge this fix, I'm just
passing it on).
Is there anyone on this list being able to commit this code?
Thxs, Werner
===================================================================
--- contrib/compiler-rt/lib/clear_cache.c (revision 250739)
+++ contrib/compiler-rt/lib/clear_cache.c (working copy)
@@ -21,6 +21,23 @@
* specified range.
*/
+/* python ffi routines call it too */
+
+#if defined(__arm__) && defined(__clang__)
+#pragma redefine_extname __clear_cache_c __clear_cache
+void __clea...
2008 Sep 24
1
Clearing cached results
...39;'t see an easy
way to clear the cache from a controller with invoking something on
the worker.
What I was looking for was something like
MiddleMan(:worker_name, :worker_key_name).cache[key]=
Is there something like that and I''m just missing it or do I need to
create a "clear_cache" function on my worker and call that when I need
to clear the cache?
Thanks,
Curtis
2014 Mar 14
2
[LLVMdev] __builtin___clear_cache
Folks,
To implement this bug:
http://llvm.org/bugs/show_bug.cgi?id=19142
I need an LLVM intrinsic to communicate the need to lower the builtin
wither to noop or a call or even a sequence of instructions. I thought
about:
void @llvm.clear_cache(i8 * begin, i8 * end)
to simulate precisely GCC's builtin:
void __builtin___clear_cache (char *begin, char *end)
which will be, by default, nothing. On ARM and MIPS, it'll call __clear_cache.
Is that a good plan?
cheers,
--renato
2013 May 05
2
Kernel bug at extent-tree.c:5446
Dear list members,
When I tried to recover my partition from the space cache bug (see
http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg24360.html
), I issued the command `mount -o clear_cache -t btrfs /dev/sda7
/aaa/aaa`. After 10 minutes the mount command segfaulted. I cloned the
latest btrfs-progs from Josef''s Github account and ran the `btrfsck
--repair` twice on the partition.
Then I tried to mount under my normal openSUSE system (with kernel
3.9) and the following BUG ap...
2011 Apr 25
4
Re: Bug#624131: linux-image-2.6.39-rc4-686-pae: Can somewhat reliably produce kernel panic in btrfs code
On Mon, 2011-04-25 at 22:05 +0200, Maik Zumstrull wrote:
> Package: linux-image-2.6.39-rc4-686-pae
> Version: 2.6.39~rc4-1~experimental.1
> Severity: normal
> Tags: experimental
>
> By simply stressing the system with some I/O, I can make it crash within
> seconds. I''m not setting a higher severity because the bug is in an
> experimental file system in an
2015 Dec 01
10
[RFC] Intrinsic naming convention (words with dots)
...scatter
@llvm.lifetime.start
@llvm.lifetime.end
@llvm.invariant.start
@llvm.invariant.end
@llvm.invariant.group.barrier
@llvm.var.annotation
@llvm.ptr.annotation
@llvm.bitset.test
Words with underscores (except for the initial namespace prefix):
@llvm.read_register
@llvm.write_register
@llvm.clear_cache
@llvm.instrprof_increment
@llvm.instrprof_value_profile
Thanks again,
Hal
--
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory
2013 Mar 26
3
Kernel BUG on corrupted space cache under 3.7 and 3.8
...were no HDD head movement at all. I did a hard reset.
Today morning when I restarted Linux I got a kernel BUG from btrfs. I
successfully started a recovery Linux (with kernel 3.7) and when I tried to
mount this partition, the bug/panic appeared again. After I could rebuild the
space cache with clear_cache option and my system was fixed.
Since all this logs are written only onto screen, I made some photographs :),
and I uploaded them.
System parameters:
- openSUSE 12.3, Kernel 3.8, x86_64
- Linux linux-suse 3.8.0-5-desktop #1 SMP PREEMPT Tue Feb 26 20:55:05 UTC 2013
(db497a6) x86_64 x86_64 x86_6...
2011 Sep 13
4
Prepared statements and postgreSQL schemas
Hi guys.
I''m using a postgreSQL with multiple schemas. To change between schemas I
use the ''SET schema TO ...'' statement. That works ok in rails 3.0.
Rails 3.1 uses prepared statements and does not take into account the
''schema_search_path''. This is a big problem because the statement is
prepared once and then the same prepared statement is executed
2011 Apr 06
3
[PATCH V2] Btrfs: fix subvolume mount by name problem when default mount subvolume is set
...iff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index db0a827..cd5f3ad 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -156,7 +156,7 @@ enum {
Opt_compress_type, Opt_compress_force, Opt_compress_force_type,
Opt_notreelog, Opt_ratio, Opt_flushoncommit, Opt_discard,
Opt_space_cache, Opt_clear_cache, Opt_user_subvol_rm_allowed,
- Opt_enospc_debug, Opt_err,
+ Opt_enospc_debug, Opt_subvolrootid, Opt_err,
};
static match_table_t tokens = {
@@ -186,6 +186,7 @@ static match_table_t tokens = {
{Opt_clear_cache, "clear_cache"},
{Opt_user_subvol_rm_allowed, "user_subvol_rm_allo...
2014 Mar 28
2
[LLVMdev] Named register variables GNU-style
...eeply confusing in LLVM due to the
> potential for (partial) LTO.
I don't know LTO well enough to answer that, maybe Rafael can chime in.
But ultimately, this particular feature is draconian in itself, and
the GCC docs describe lots of cases where it's not safe to use it.
This, and the clear_cache builtins, are particularly dangerous but
necessary extensions to implementing low level bare-metal code while
keeping the code in a manageable level (C-land).
We can only guarantee behaviour that is described in the standards we
implement. Anything else may have value but still be unsafe in certa...
2019 Sep 26
0
extlinux: Failed to load ldlinux.c32 with btrfs subvolume
...-5.2.0-2-686-pae to /.
6) I make a /extlinux.conf file. Here it is:
# vim: ft=conf
Default linux
LABEL linux
LINUX /vmlinuz-5.2.0-2-686-pae
INITRD /initrd.img-5.2.0-2-686-pae
APPEND ipv6.disable=1 rw fsck.mode=skip systemd.restore_state=0 root=/dev/sda1 rootflags=subvol=/root,noatime,nospace_cache,clear_cache
7) I unmount everything and attempt to boot the USB disk. I receive "Failed to load ldlinux.c32" on the console.
extlinux: 6.04 (bf6db5b4)
Note:
I am able to successfully boot a btrfs subvolume if I place the extlinux.conf at / when I mount the disk with "mount -o subvolid=0 /de...
2019 Sep 29
0
extlinux| Failed to load ldlinux.c32 with btrfs subvolume
...5.2.0-2-686-pae to /.
6) I make a /extlinux.conf file. Here it is:
# vim: ft=conf
Default linux
LABEL linux
LINUX /vmlinuz-5.2.0-2-686-pae
INITRD /initrd.img-5.2.0-2-686-pae
APPEND ipv6.disable=1 rw fsck.mode=skip systemd.restore_state=0
root=/dev/sda1 rootflags=subvol=/root,noatime,nospace_cache,clear_cache
7) I unmount everything and attempt to boot the USB disk. I receive
"Failed to load ldlinux.c32" on the console.
extlinux: 6.04 (bf6db5b4)
Note:
I am able to successfully boot a btrfs subvolume if I place the
extlinux.conf at / when I mount the disk with "mount -o subvolid=0...
2019 Sep 30
0
[extlinux]Failed to load ldlinux.c32 with btrfs subvolume
...5.2.0-2-686-pae to /.
6) I make a /extlinux.conf file. Here it is:
# vim: ft=conf
Default linux
LABEL linux
LINUX /vmlinuz-5.2.0-2-686-pae
INITRD /initrd.img-5.2.0-2-686-pae
APPEND ipv6.disable=1 rw fsck.mode=skip systemd.restore_state=0
root=/dev/sda1 rootflags=subvol=/root,noatime,nospace_cache,clear_cache
7) I unmount everything and attempt to boot the USB disk. I receive
"Failed to load ldlinux.c32" on the console.
extlinux: 6.04 (bf6db5b4)
Note:
I am able to successfully boot a btrfs subvolume if I place the
extlinux.conf at / when I mount the disk with "mount -o subvolid=0...