Displaying 20 results from an estimated 37 matches for "test_fs".
Did you mean:
test_f
2008 Oct 11
1
[PATCH] fstype: Fix ext4/ext4dev probing
Enhance fstype so it properly takes into account whether or not the
ext4 and/or ext4dev filesystems are present, and properly handles the
test_fs flag. The old code also has some really buggy checks --- for
example, where it compared the set of supported ro_compat features
against the incompat feature bitmask:
(sb->s_feature_incompat & __cpu_to_le32(EXT3_FEATURE_RO_COMPAT_SUPP)
I rewrote the ext4 checks so they are more easil...
2019 Oct 07
0
[klibc:master] fstype: Drop obsolete support for "ext4dev"
...++;
- i = strlen(cp);
- if (i > 3) {
- t = cp + i - 3;
- if (!strcmp(t, ".ko"))
- *t = 0;
- }
- if (!strcmp(cp, fs_name)) {
- fclose(f);
- return 1;
- }
- }
- fclose(f);
- return 0;
-}
-
-static int base_ext4_image(const void *buf, unsigned long long *bytes,
- int *test_fs)
+static int ext4_image(const void *buf, unsigned long long *bytes)
{
const struct ext3_super_block *sb =
(const struct ext3_super_block *)buf;
@@ -209,43 +128,11 @@ static int base_ext4_image(const void *buf, unsigned long long *bytes,
& __cpu_to_le32(EXT3_FEATURE_RO_COMPAT_UNSUPP...
2020 Jul 23
0
[PATCH v4 5/6] mm/hmm/test: use the new migration invalidation
Use the new MMU_NOTIFY_MIGRATE event to skip MMU invalidations of device
private memory and handle the invalidation in the driver as part of
migrating device private memory.
Signed-off-by: Ralph Campbell <rcampbell at nvidia.com>
---
lib/test_hmm.c | 30 +++++++++++++++-----------
tools/testing/selftests/vm/hmm-tests.c | 18 ++++++++++++----
2 files changed, 31
2011 May 30
5
Damaged super block / fs root
I have accidently damaged the first block(s) of a btrfs partition
and can''t mount it anymore.
I can see that my data is still intact by running a command like:
cat /dev/sda5 | hexdump -C | more
Do any (experimental) tools exist which would allow me to recover the files?
Thank you
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a
2020 Jun 19
0
[PATCH 15/16] mm/hmm/test: add self tests for THP migration
Add some basic stand alone self tests for migrating system memory to device
private memory and back.
Signed-off-by: Ralph Campbell <rcampbell at nvidia.com>
---
lib/test_hmm.c | 323 ++++++++++++++++++++-----
tools/testing/selftests/vm/hmm-tests.c | 292 ++++++++++++++++++++++
2 files changed, 560 insertions(+), 55 deletions(-)
diff --git a/lib/test_hmm.c
2015 May 24
2
[Mesa-dev] [PATCH 07/11] glsl: Add arb_cull_distance support
On Sun, 2015-05-24 at 19:58 +0200, Tobias Klausmann wrote:
> Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
> ---
> src/glsl/ast_to_hir.cpp | 14 +++++
> src/glsl/builtin_variables.cpp | 13 +++-
> src/glsl/glcpp/glcpp-parse.y | 3 +
> src/glsl/glsl_parser_extras.cpp | 1 +
> src/glsl/glsl_parser_extras.h
2008 Dec 27
0
[LLVMdev] [Patch] Adding unit tests to LLVM
On Dec 22, 7:34 pm, Talin <viri... at gmail.com> wrote:
> (Forwarding this to llvm-dev)
>
> This patch adds a unit test framework to LLVM, along with a sample unit test
> for DenseMap. I don't expect this patch to be accepted as-is, this is mainly
> a trial balloon and proof of concept.
I think this is a great idea! As Keir already noted, I would also
agree with LLVM
2019 Sep 11
6
[PATCH 0/4] HMM tests and minor fixes
These changes are based on Jason's latest hmm branch.
Patch 1 was previously posted here [1] but was dropped from the orginal
series. Hopefully, the tests will reduce concerns about edge conditions.
I'm sure more tests could be usefully added but I thought this was a good
starting point.
[1] https://lore.kernel.org/linux-mm/20190726005650.2566-6-rcampbell at nvidia.com/
Ralph Campbell
2020 Jan 13
9
[PATCH v6 0/6] mm/hmm/test: add self tests for HMM
This series adds new functions to the mmu interval notifier API to
allow device drivers with MMUs to dynamically mirror a process' page
tables based on device faults and invalidation callbacks. The Nouveau
driver is updated to use the extended API and a set of stand alone self
tests is added to help validate and maintain correctness.
The patches are based on linux-5.5.0-rc6 and are for
2008 Dec 27
3
[LLVMdev] [Patch] Adding unit tests to LLVM
On Fri, Dec 26, 2008 at 8:06 PM, Misha Brukman <brukman at gmail.com> wrote:
> On Dec 22, 7:34 pm, Talin <viri... at gmail.com> wrote:
> > (Forwarding this to llvm-dev)
> >
> > This patch adds a unit test framework to LLVM, along with a sample unit
> test
> > for DenseMap. I don't expect this patch to be accepted as-is, this is
> mainly
> > a
2008 Jun 16
0
latest fixes
...2390c68bbb4b8e32469
Author: maximilian attems <max at stro.at>
Date: Mon Jun 16 02:03:03 2008 +0200
[klibc] fstype: fix ext4dev detection
ext4dev changed on disc format, cope with 2.6.26-rc6 ext4dev
using e2fsprogs 1.40.8-2
mke2fs -q -j /dev/mapper/dualvg0-foo -E test_fs
mount /dev/mapper/dualvg0-foo /mnt/ -t ext4dev
EXT4 FS on dm-12, internal journal
EXT4-fs: mounted filesystem with ordered data mode.
EXT4-fs: file extents enabled
EXT4-fs: mballoc enabled
./usr/kinit/fstype/shared/fstype /dev/mapper/dualvg0-foo
FSTYPE=ex...
2008 Dec 27
0
[LLVMdev] [Patch] Adding unit tests to LLVM
Just a curiosity question, why push for gtest vs Boost Test or a
different test suite?
I normally use Boost, and their test suite, so I'm more familiar with
that. So I was wondering is one better then the other, or is it just
that someone makes a patch for it?
Regards
Mark Kromis
On Dec 27, 2008, at 12:26 AM, Keir Mierle wrote:
>
>
> On Fri, Dec 26, 2008 at 8:06 PM, Misha
2008 Dec 23
6
[LLVMdev] [Patch] Adding unit tests to LLVM
(Forwarding this to llvm-dev)
This patch adds a unit test framework to LLVM, along with a sample unit test
for DenseMap. I don't expect this patch to be accepted as-is, this is mainly
a trial balloon and proof of concept.
Some notes about the patch:
1) For the testing framework, I went with Google Test, since it's the one I
have the most experience with. I fully expect an extended
2013 May 29
0
[LLVMdev] Polyhedron 2005 results for dragonegg 3.3svn
On Wed, May 29, 2013 at 03:25:30PM +0200, Duncan Sands wrote:
> Hi Jack, I pulled the loop vectorizer and fast math changes into the 3.3 branch,
> so hopefully they will be part of 3.3 rc3 (and 3.3 final!). It would be great
> if you could redo the benchmarks rc3.
>
Duncan,
As requested, appended are the updated Polyhedron 2005 benchmark results with both RC1 and RC3 llvm 3.3
2013 Oct 14
0
Glusterfs 3.4.1 not able to mount the exports containing soft links
...in the server 1 that I am trying to export
server 1 sh# gluster volume info all
Volume Name: _testvol
Type: Distribute
Volume ID: f36d4ec4-8462-44aa-a0e6-e86c8bd3c914
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: 10.137.108.163:/mnt/gluster
Brick2: 10.137.108.163:/root/test_fs
Below is the content of the of the exported volume on the server 1
server 1 sh# ls -l
total 4
lrwxrwxrwx. 1 root root 6 Oct 14 13:54 fakeroot -> rootfs
drwxr-xr-x. 20 root root 4096 Oct 10 20:07 rootfs
>From server 2 , I am trying to mount the soft link fakeroot, and it is
failing...
2020 Jul 21
6
[PATCH v3 0/5] mm/migrate: avoid device private invalidations
The goal for this series is to avoid device private memory TLB
invalidations when migrating a range of addresses from system
memory to device private memory and some of those pages have already
been migrated. The approach taken is to introduce a new mmu notifier
invalidation event type and use that in the device driver to skip
invalidation callbacks from migrate_vma_setup(). The device driver is
2020 Jun 19
22
[PATCH 00/16] mm/hmm/nouveau: THP mapping and migration
These patches apply to linux-5.8.0-rc1. Patches 1-3 should probably go
into 5.8, the others can be queued for 5.9. Patches 4-6 improve the HMM
self tests. Patch 7-8 prepare nouveau for the meat of this series which
adds support and testing for compound page mapping of system memory
(patches 9-11) and compound page migration to device private memory
(patches 12-16). Since these changes are split
2009 Apr 28
2
[LLVMdev] infinite looping on hashtables
On OS X, this test:
------------------------------------------------------
#include <llvm/ADT/DenseSet.h>
#include <new>
#include <stdio.h>
int main(int argc, char** argv) {
llvm::DenseSet<unsigned> set(2);
set.insert(0);
set.insert(1);
if (set.count(2)) printf("error\n");
return 0;
}
------------------------------------------------------
saved
2020 Jul 23
9
[PATCH v4 0/6] mm/migrate: avoid device private invalidations
The goal for this series is to avoid device private memory TLB
invalidations when migrating a range of addresses from system
memory to device private memory and some of those pages have already
been migrated. The approach taken is to introduce a new mmu notifier
invalidation event type and use that in the device driver to skip
invalidation callbacks from migrate_vma_setup(). The device driver is
2020 Nov 06
12
[PATCH v3 0/6] mm/hmm/nouveau: add THP migration to migrate_vma_*
This series adds support for transparent huge page migration to
migrate_vma_*() and adds nouveau SVM and HMM selftests as consumers.
Earlier versions were posted previously [1] and [2].
The patches apply cleanly to the linux-mm 5.10.0-rc2 tree. There are a
lot of other THP patches being posted. I don't think there are any
semantic conflicts but there may be some merge conflicts depending on