Re: Kernel SCM saga..

2005-04-08 Thread ross
bly correct ::-) The patch is below, the scripts are attached, and everything is available here: http://lug.udel.edu/~ross/git/ Now to see what I come up with for commit, push, and pull... -- Ross Vandegrift [EMAIL PROTECTED] "The good Christian should beware of mathematicians, and all those wh

Re: more git updates..

2005-04-11 Thread ross
stuff, since it looks like there's superior work. Looks cool! I must say, the git as a filesystem thing is really neat. This has been one of the more fun projects I've toyed around with. -- Ross Vandegrift [EMAIL PROTECTED] "The good Christian should beware of mathematician

DRM not working with 2.6.11.5

2005-04-16 Thread ross
annot initialize the agpgart module. DRM: Fill_in_dev failed. Thanks very much for any tips! -- Ross Vandegrift [EMAIL PROTECTED] "The good Christian should beware of mathematicians, and all those who make empty prophecies. The danger already exists that the mathematicians have made a covenant with

Re: DRM not working with 2.6.11.5

2005-04-16 Thread ross
On Sat, Apr 16, 2005 at 06:47:13PM +1000, Dave Airlie wrote: > You didn't load the agp chipset module.. > it would be nice if it happened automatically... Spot on - thanks man. Will update rc scripts from 2.4. Thanks! -- Ross Vandegrift [EMAIL PROTECTED] "The good Christian

Re: ALSA HELP: Crackling and popping noises with via82xx

2005-02-01 Thread ross
a result, I mostly use OSS emulation for non-music related things - Frank Barknecht has info at http://alsa.opensrc.org/index.php?page=DmixPlugin on setting this up. Runing all my audio through that fixes the problem, since it just resample everything to the running rate. -- Ross Vandegrift [EMAI

Re: [PATCH]sched: Isochronous class v2 for unprivileged soft rt scheduling

2005-01-20 Thread ross
nly use ReiserFS and have a few reasonably sized projects in Ardour that work fine: maybe 20 tracks, with 10-15 plugins (in the whole project), and I can do overdubs with no problems. It may be relevant that I only have a four track card and so load is too small. But at least in my practice, it has

Re: [PATCH v2] vt: add init_hide parameter to suppress boot output

2013-02-19 Thread Andy Ross
On 02/19/2013 05:45 PM, Greg Kroah-Hartman wrote: When vt.init_hide is set, suppress output on newly created consoles until an affirmative switched to that console. This prevents boot output from displaying (and clobbering splash screens, etc...) without disabling the console entirely. What's

Re: [PATCH v2] vt: add init_hide parameter to suppress boot output

2013-02-20 Thread Andy Ross
On 02/19/2013 08:45 PM, Greg Kroah-Hartman wrote: > On Tue, Feb 19, 2013 at 08:04:05PM -0800, Andy Ross wrote: > > There's a (sort of) similar commonly-used option, vga=current, which > > prevents a mode switch for the special case of VGA/vesa. But that > > doesn&#

Re: [PATCH v3] vt: add init_hide parameter to suppress boot output

2013-02-20 Thread Andy Ross
When vt.init_hide is set, suppress output on newly created consoles until an affirmative switch to that console. This prevents boot output from displaying (and clobbering splash screens, etc...) without disabling the console entirely. Signed-off-by: Andy Ross Signed-off-by: Kirill A. Shutemov

Re: [PATCH v2] vt: add init_hide parameter to suppress boot output

2013-02-20 Thread Andy Ross
On 02/20/2013 12:57 PM, Pavel Machek wrote: I'm sure something creative can be done with fake init that shuts the console up then execs previous init. No need to add more kernel knobs, I'd say. Fair enough, but some last words: That's argument is the "it's about logging" hypothesis again. Eve

Re: [PATCH v2] vt: add init_hide parameter to suppress boot output

2013-02-21 Thread Andy Ross
I know I said the last words were my last, but this message and Pavel's gave me some vain hope that I might be able to win this one on the merits, so I'm trying again just to make the situation clear: On 02/20/2013 05:12 PM, Greg Kroah-Hartman wrote: I don't see why this is even needed for surfa

Re: [PATCH] Add IPv6 support to TCP SYN cookies

2008-02-12 Thread Ross Vandegrift
On Fri, Feb 08, 2008 at 01:07:46PM +0100, Andi Kleen wrote: > On Thu, Feb 07, 2008 at 02:44:46PM -0500, Ross Vandegrift wrote: > > On Wed, Feb 06, 2008 at 09:53:57AM +0100, Andi Kleen wrote: > > My initial test is end-to-end 1000Mbps, but I've got a few different > > p

Re: RAID extremely slow

2012-07-25 Thread Kevin Ross
unused devices: # cat /proc/sys/dev/raid/speed_limit_min 1 MD is unable to reach its minimum rebuild rate while other system activity is ongoing. You might want to lower this number to see if that gets you out of the stalls. Or temporarily shut down mythtv. I will try lowering those

Re: RAID extremely slow

2012-07-26 Thread Kevin Ross
On 07/25/2012 10:00 PM, Kevin Ross wrote: unused devices: # cat /proc/sys/dev/raid/speed_limit_min 1 MD is unable to reach its minimum rebuild rate while other system activity is ongoing. You might want to lower this number to see if that gets you out of the stalls. Or temporarily

Re: RAID extremely slow

2012-07-26 Thread Kevin Ross
On 07/26/2012 07:17 PM, David Dillow wrote: On Thu, 2012-07-26 at 22:15 -0400, David Dillow wrote: If you can, upgrade to the latest 3.4 stable kernel (3.4.6 right now). As far as I can see, the latest 3.2 stable does not contain the delayed stripe fix. And I was looking at the wrong version; 3

Re: RAID extremely slow

2012-07-26 Thread Kevin Ross
On 07/26/2012 07:27 PM, David Dillow wrote: On Thu, 2012-07-26 at 19:17 -0700, Kevin Ross wrote: On 07/26/2012 07:17 PM, David Dillow wrote: On Thu, 2012-07-26 at 22:15 -0400, David Dillow wrote: If you can, upgrade to the latest 3.4 stable kernel (3.4.6 right now). As far as I can see, the

Re: RAID extremely slow

2012-07-26 Thread Kevin Ross
On 07/26/2012 07:53 PM, Kevin Ross wrote: On 07/26/2012 07:27 PM, David Dillow wrote: On Thu, 2012-07-26 at 19:17 -0700, Kevin Ross wrote: On 07/26/2012 07:17 PM, David Dillow wrote: On Thu, 2012-07-26 at 22:15 -0400, David Dillow wrote: If you can, upgrade to the latest 3.4 stable kernel

Re: RAID extremely slow

2012-07-27 Thread Kevin Ross
On 07/27/2012 12:08 PM, Bill Davidsen wrote: Have you set the io scheduler to deadline on all members of the array? That's kind of "job one" on older kernels. I have not, thanks for the tip, I'll look into that now. Thanks! -- Kevin -- To unsubscribe from this list: send the line "unsubscri

Re: RAID extremely slow

2012-07-28 Thread Kevin Ross
On 07/27/2012 09:45 PM, Grant Coady wrote: On Fri, 27 Jul 2012 14:45:18 -0700, you wrote: On 07/27/2012 12:08 PM, Bill Davidsen wrote: Have you set the io scheduler to deadline on all members of the array? That's kind of "job one" on older kernels. I have not, thanks for the tip, I'll look i

Trailing slash with symlinks and rmdir/rename

2013-09-09 Thread Ross Lagerwall
though it names the directory pointed to by the symbolic link. So while Linux gives ENOTDIR for "rmdir X/", the others remove Y. Is this a bug? If it is, I can have a go at writing a patch. Regards -- Ross Lagerwall -- To unsubscribe from this list: send the line "unsubsc

Possible tty VT1 disallocate regression

2013-06-14 Thread Ross Lagerwall
Hi, Ever since commit 421b40a6286e ("tty/vt: Fix vc_deallocate() lock order"), the first VT does not clear when I log out. AFAIK, this means that disallocation is not working? The problem only affects the first VT, the others clear when logging out. Regards -- Ross Lagerwall -- To u

[PATCH] tty/vt: Return EBUSY if deallocating VT1 and it is busy

2013-06-14 Thread Ross Lagerwall
Commit 421b40a6286e ("tty/vt: Fix vc_deallocate() lock order") changed the behavior when deallocating VT 1. Previously if trying to deallocate VT1 and it is busy, we would return EBUSY. The commit changed this to return 0 (success). This commit restores the old behavior. Signed-of

RE: [Xen-devel] v3.9 - CPU hotplug and microcode earlier loading hits a mutex deadlock (x86_cpu_hotplug_driver_mutex)

2013-05-08 Thread Ross Philipson
guest interoperate with qemu etc. On bare metal it will be much more opaque and ugly; the processor related AML will probably burrow down into an SMI to do the real work. Ross > > All I'm saying is, let's not hurry too much before we actually can > really trigger this on baremetal

Re: [PATCH] Add IPv6 support to TCP SYN cookies

2008-02-05 Thread Ross Vandegrift
vice, most of the connections are short-lived connections for small pieces of data - so I'm not really convinced that window scaling and selective ACK are all that important. -- Ross Vandegrift [EMAIL PROTECTED] "The good Christian should beware of mathematicians, and all those who mak

Re: [PATCH] Add IPv6 support to TCP SYN cookies

2008-02-05 Thread Ross Vandegrift
that have been left on compromised systems, so it wouldn't be too difficult to get some numbers. -- Ross Vandegrift [EMAIL PROTECTED] "The good Christian should beware of mathematicians, and all those who make empty prophecies. The danger already exists that the mathematicians have made a

Re: [PATCH] Add IPv6 support to TCP SYN cookies

2008-02-07 Thread Ross Vandegrift
sten+0x4a/0x66 [] sys_socketcall+0x98/0x19e [] do_syscall_trace+0xab/0xb1 [] syscall_call+0x7/0xb === -- Ross Vandegrift [EMAIL PROTECTED] "The good Christian should beware of mathematicians, and all those who make empty prophecies. The danger already exists that the m

RAID extremely slow

2012-07-25 Thread Kevin Ross
Hello, I'm having a problem. After a while, my software RAID rebuild becomes extremely slow, and the filesystem on the RAID is essentially blocked. I don't know what is causing this. I guess it could be a bad drive, but how can I find out? I used atop to show the transfer speeds to each d

Re: RAID extremely slow

2012-07-25 Thread Kevin Ross
Thank you very much for taking the time to look into this. On 07/25/2012 06:00 PM, Phil Turmel wrote: Piles of small reads scattered across multiple drives, and a concentration of queued writes to /dev/sda. What's on /dev/sda? It's not a member of the raid, so it must be some other system task

Re: RAID extremely slow

2012-07-25 Thread Kevin Ross
On 07/25/2012 07:09 PM, CoolCold wrote: You might be interested in write intent bitmap then, it gonna help a lot. (resending in plain text) Thanks, I'll look into that! -- Kevin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vg

[PATCH] synaptics_usb: Remove TrackPoint name trailing whitespace

2012-07-06 Thread Bob Ross
The USB TrackPoint name string contains a space at the trailing end that can cause confusion/difficulty when creating udev rules. Example: "Synaptics Inc. Composite TouchPad / TrackPoint (Stick) " This patch removes the trailing space. Signed-off-by: Bob Ross --- This patch was

[RFC/Patch 2.6.11] Take control of PCI Master Abort Mode

2005-04-05 Thread Ross Biro
to choose the mode at runtime. Ross diff -ur linux-2.6.11/drivers/pci/Kconfig linux-2.6.11-new/drivers/pci/Kconfig --- linux-2.6.11/drivers/pci/Kconfig2005-03-01 23:37:51.0 -0800 +++ linux-2.6.11-new/drivers/pci/Kconfig2005-04-01 07:19:32.0 -0800

Re: [RFC/Patch 2.6.11] Take control of PCI Master Abort Mode

2005-04-06 Thread Ross Biro
ammar comments noted ] One thing I did fail to mention in my original post is that all of this could be done by rc scripts from user space, but that seems unclean to me. Ross - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [E

Re: [RFC/Patch 2.6.11] Take control of PCI Master Abort Mode

2005-04-13 Thread Ross Biro
on is to keep it as a config option and add a CONFIG_OBSCURE so that most people don't ever see option, but the few that need to can. Ross - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info a

Re: [RFC/Patch 2.6.11] Take control of PCI Master Abort Mode

2005-04-14 Thread Ross Biro
the exact same hardware. A setting of =y will screw user A and a setting of =n will screw user B. Ideally, they would both get better hardware, but that is not always an option. Ross Ross - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

Re: [PATCH] Clean-up and bug fix for tdfxfb framebuffer size detection

2005-04-22 Thread Chris Ross
Hi Richard, Richard Drummond escreveu: Attached is a patch against 2.6.11.7 which tidies up the tdfxfb framebuffer size detection code a little and fixes the broken support for Voodoo4/5 cards. (I haven't tested this on a Voodoo5, however, because I don't have the hardware). I /do/ have the hard

Re: process creation time increases linearly with shmem

2005-08-26 Thread Ross Biro
On 8/26/05, Hugh Dickins <[EMAIL PROTECTED]> wrote: > On Fri, 26 Aug 2005, Ross Biro wrote: > > On 8/26/05, Hugh Dickins <[EMAIL PROTECTED]> wrote: > > > > > > The refaulting will hurt the performance of something: let's > > > just hope

Re: process creation time increases linearly with shmem

2005-08-26 Thread Ross Biro
;m suggesting that we change the code to do the same work fork would have done on the first page fault immediately, since it's easy to argue that it's not much worse than we have now and much better in many cases, and then try to experiment and figure out what the correct solution is.

[RFC][PATCH 1/2]: MM: Make Paget Tables Relocatable--Conditional TLB Flush

2008-01-23 Thread Ross Biro
From: [EMAIL PROTECTED] These patches make page tables relocatable for numa, memory defragmentation, and memory hotplug. The need to rewalk the page tables before making any changes causes a 3.5% performance degredation in the lmbench page miss micro benchmark. Please check the linux-mm list arc

[RFC][PATCH 2/2]: MM: Make Page Tables Relocatable

2008-01-23 Thread Ross Biro
--- diff -uprwNbB -X 2.6.23/Documentation/dontdiff 2.6.23/arch/i386/mm/hugetlbpage.c 2.6.23a/arch/i386/mm/hugetlbpage.c --- 2.6.23/arch/i386/mm/hugetlbpage.c 2007-10-09 13:31:38.0 -0700 +++ 2.6.23a/arch/i386/mm/hugetlbpage.c 2007-10-29 09:48:48.0 -0700 @@ -87,6 +87,7 @@ static

Re: [RFC][PATCH 1/2]: MM: Make Paget Tables Relocatable--Conditional TLB Flush

2008-01-24 Thread Ross Biro
gured out how to reduce the 3.5% page fault overhead to almost nothing. Ross -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

VM disk cache behavior.

2005-02-08 Thread jon ross
I have an app with a small fixed memory footprint that does a lot of random reads from a large file. I thought if I added more memory to the machine the VM would do more caching of the disk, but added memory does not seem to make any difference. I played with some of the params in /proc/sys/vm and

Re:

2005-03-08 Thread Ross Biro
't be in the near future), then there is no point in turning interrupts on and off at all. Ross - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: ifconfig changing a routing table?

2007-09-01 Thread Ross Vandegrift
iguration. So, if you're getting a connected route for 10.3.0.0/16 out of dev eth0, it's because you assigned some IP in that subnet to that device, with a netmask of 255.255.0.0 Check that your netmask is correct. -- Ross Vandegrift [EMAIL PROTECTED] "The good Christian should

sata_sil24 problems

2007-08-08 Thread Ross Fawcett
Hi all, I'm trying to track down whats causing the problems with a Silicon Image 3124 PCI/PCI-X sata card and running it under linux. A quick rundown on the hardware that is in use. Athlon X2 4200+ Asus A8S-X Mobo Silicon Image 3124 4port SATA RAID card (using a PCI slot) 5x500gb WDJB 500gb SATA

Re: sata_sil24 problems

2007-08-08 Thread Ross Fawcett
What would you define a media error as though? I mean my first thought is a bad block, but a scan of the disc doesn't report anything like that. It also seems to be intermittent, however recently it has been reproducible. - Ross Jeff Garzik wrote: > Ross Fawcett wrote: >> The er

Re: Unidentified Intel wifi network card

2007-01-31 Thread Ross Vandegrift
on't use that on my D820. I have a D820 and I had a horrible time with the wireless for a long time. Every five minutes or so, the card would flip out and burn 100% CPU making the box unusable for 15-45 seconds. The most recent version of the firmware fixed this issue and now things are much

Re: why can't I remove a kernel module (or: what uses a given module)?

2006-12-03 Thread Ross Vandegrift
ded at system boot, hald or udev may be doing something with it. When you loaded it manually, you didn't have udev rescan for devices so they didn't notice that you had loaded up a new disk. -- Ross Vandegrift [EMAIL PROTECTED] "The good Christian should beware of mathematician

dump of ext3 very slow from dm LV

2007-06-30 Thread Ross Vandegrift
0MiB/sec. I'm using kernel 2.6.18-4-686 from debian. Any ideas on what's slowing down dump? -- Ross Vandegrift [EMAIL PROTECTED] "The good Christian should beware of mathematicians, and all those who make empty prophecies. The danger already exists that the mathematicians hav

Re: Kernel oops with 2.6.21 while using cdda2wav & cooked_ioctl (x64-64) [untainted]

2007-05-04 Thread Ross Alexander
only recently has it been causing the kernel to crash. I know this is avoidable by using cdda2wav in raw mode but it would be good to fix. If anybody has any pointers about how I should go about this it would be most appriciated. Many thanks, Ross Ross Alexander Phone: +44 20 8752 3394 SAP

Re: Kernel oops with 2.6.21 while using cdda2wav & cooked_ioctl (x64-64) [untainted]

2007-04-30 Thread Ross Alexander
the call trace isn't identical. Lastest says "kernel BUG at kernel/timer.c:551! invalid opcode: [1] PREMPT KERNEL". I can run this again if necessary. Cheers, Ross Unable gto handle kernel NULL pointer dereferenced at RIP: [<>]

[PATCH] radix-tree: fix comment about "exceptional" bits

2016-07-19 Thread Ross Zwisler
locking */ #define RADIX_DAX_ENTRY_LOCK (1 << RADIX_TREE_EXCEPTIONAL_SHIFT) This locking code was also made specific to the DAX code instead of being generally implemented in radix-tree.h. So, fix the comment. Signed-off-by: Ross Zwisler --- include/linux/radix-tree.h | 2 +- 1 file changed, 1 inserti

Re: [PATCH v2 1/9] ext4: allow DAX writeback for hole punch

2016-09-21 Thread Ross Zwisler
On Tue, Aug 23, 2016 at 04:04:11PM -0600, Ross Zwisler wrote: > Currently when doing a DAX hole punch with ext4 we fail to do a writeback. > This is because the logic around filemap_write_and_wait_range() in > ext4_punch_hole() only looks for dirty page cache pages in the radix tree,

[PATCH v3 01/11] ext4: allow DAX writeback for hole punch

2016-09-27 Thread Ross Zwisler
Currently when doing a DAX hole punch with ext4 we fail to do a writeback. This is because the logic around filemap_write_and_wait_range() in ext4_punch_hole() only looks for dirty page cache pages in the radix tree, not for dirty DAX exceptional entries. Signed-off-by: Ross Zwisler Reviewed-by

[PATCH v3 05/11] dax: make 'wait_table' global variable static

2016-09-27 Thread Ross Zwisler
The global 'wait_table' variable is only used within fs/dax.c, and generates the following sparse warning: fs/dax.c:39:19: warning: symbol 'wait_table' was not declared. Should it be static? Make it static so it has scope local to fs/dax.c, and to make sparse happy. Signed-

[PATCH v3 09/11] dax: add struct iomap based DAX PMD support

2016-09-27 Thread Ross Zwisler
can insert the 2MiB entry. We can solve this problem if we need to, but I think that the cases where both 2MiB entries and 4K entries are being used for the same range will be rare enough and the gain small enough that it probably won't be worth the complexity. Signed-off-by: Ross Zwisle

[PATCH v3 00/11] re-enable DAX PMD support

2016-09-27 Thread Ross Zwisler
inux/kernel/git/zwisler/linux.git/log/?h=dax_pmd_v3 Ross Zwisler (11): ext4: allow DAX writeback for hole punch ext4: tell DAX the size of allocation holes dax: remove buffer_size_valid() ext2: remove support for DAX PMD faults dax: make 'wait_table' global variable static dax

[PATCH v3 11/11] dax: remove "depends on BROKEN" from FS_DAX_PMD

2016-09-27 Thread Ross Zwisler
Now that DAX PMD faults are once again working and are now participating in DAX's radix tree locking scheme, allow their config option to be enabled. Signed-off-by: Ross Zwisler --- fs/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/Kconfig b/fs/Kconfig index 2bc7ad7..b6

[PATCH v3 06/11] dax: consistent variable naming for DAX entries

2016-09-27 Thread Ross Zwisler
No functional change. Consistently use the variable name 'entry' instead of 'ret' for DAX radix tree entries. This was already happening in most of the code, so update get_unlocked_mapping_entry(), grab_mapping_entry() and dax_unlock_mapping_entry(). Signed-off-by: Ross Zw

[PATCH v3 08/11] dax: remove dax_pmd_fault()

2016-09-27 Thread Ross Zwisler
dax_pmd_fault() is the old struct buffer_head + get_block_t based 2 MiB DAX fault handler. This fault handler has been disabled for several kernel releases, and support for PMDs will be reintroduced using the struct iomap interface instead. Signed-off-by: Ross Zwisler --- fs/dax.c

[PATCH v3 07/11] dax: coordinate locking for offsets in PMD range

2016-09-27 Thread Ross Zwisler
he same bit lock. To accomplish this, for ranges covered by a PMD entry we will instead lock based on the page offset of the beginning of the PMD entry. The 'mapping' pointer is still used in the same way. Signed-off-by: Ross Zwisler --- fs/dax.c| 37

[PATCH v3 10/11] xfs: use struct iomap based DAX PMD fault path

2016-09-27 Thread Ross Zwisler
Switch xfs_filemap_pmd_fault() from using dax_pmd_fault() to the new and improved iomap_dax_pmd_fault(). Also, now that it has no more users, remove xfs_get_blocks_dax_fault(). Signed-off-by: Ross Zwisler --- fs/xfs/xfs_aops.c | 25 + fs/xfs/xfs_aops.h | 3 --- fs/xfs

[PATCH v3 04/11] ext2: remove support for DAX PMD faults

2016-09-27 Thread Ross Zwisler
#x27;t reliably get PMDs, remove support so that we don't have an untested code path that we may someday traverse when we happen to get an aligned block allocation. This should also make 4k DAX faults in ext2 a bit faster since they will no longer have to call the PMD fault handler only to get a res

[PATCH v3 03/11] dax: remove buffer_size_valid()

2016-09-27 Thread Ross Zwisler
Now that ext4 properly sets bh.b_size when we call get_block() for a hole, rely on that value and remove the buffer_size_valid() sanity check. Signed-off-by: Ross Zwisler Reviewed-by: Jan Kara --- fs/dax.c | 22 +- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git

[PATCH v3 02/11] ext4: tell DAX the size of allocation holes

2016-09-27 Thread Ross Zwisler
can remove buffer_size_valid() in a later patch. Signed-off-by: Ross Zwisler Reviewed-by: Jan Kara --- fs/ext4/inode.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 0900cb4..9075fac 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -759,6 +759,9 @@

[PATCH] block: remove BLK_DEV_DAX config option

2016-07-29 Thread Ross Zwisler
is config option was introduced in this commit: commit 03cdadb04077 ("block: disable block device DAX by default") This change reverts that commit, removing the dead config option. Signed-off-by: Ross Zwisler Cc: Dave Hansen Cc: Dan Williams --- block/Kconfig | 13 - fs/b

[PATCH] libnvdimm, nd_blk: mask off reserved status bits

2016-07-29 Thread Ross Zwisler
erved bits need to be masked off, and the driver must avoid checking the state of those bits. This change ensures that for hardware implementations that set these reserved bits in the status register, the driver won't incorrectly fail the block I/Os. Signed-off-by: Ross Zwisler Cc: D

Re: DAX can not work on virtual nvdimm device

2016-09-08 Thread Ross Zwisler
On Tue, Sep 06, 2016 at 05:06:20PM +0200, Jan Kara wrote: > On Thu 01-09-16 20:57:38, Ross Zwisler wrote: > > On Wed, Aug 31, 2016 at 04:44:47PM +0800, Xiao Guangrong wrote: > > > On 08/31/2016 01:09 AM, Dan Williams wrote: > > > > > > > > Can you post yo

Re: DAX mapping detection (was: Re: [PATCH] Fix region lost in /proc/self/smaps)

2016-09-08 Thread Ross Zwisler
On Wed, Sep 07, 2016 at 09:32:36PM -0700, Dan Williams wrote: > [ adding linux-fsdevel and linux-nvdimm ] > > On Wed, Sep 7, 2016 at 8:36 PM, Xiao Guangrong > wrote: > [..] > > However, it is not easy to handle the case that the new VMA overlays with > > the old VMA > > already got by userspace.

Re: Panic when insmod nfit_test.ko

2016-09-13 Thread Ross Zwisler
On Tue, Sep 13, 2016 at 06:38:02AM -0700, Dan Williams wrote: > On Mon, Sep 12, 2016 at 11:01 PM, ryan chen wrote: > > On Tue, Sep 13, 2016 at 10:50 AM, Dan Williams > > wrote: > >> On Mon, Sep 12, 2016 at 7:30 PM, ryan chen wrote: > >>> Hi all, > >>> Recently I'm trying to check the testing su

Re: [PATCH v2 2/9] ext2: tell DAX the size of allocation holes

2016-09-15 Thread Ross Zwisler
On Tue, Aug 23, 2016 at 04:04:12PM -0600, Ross Zwisler wrote: > When DAX calls ext2_get_block() and the file offset points to a hole we > currently don't set bh_result->b_size. When we re-enable PMD faults DAX > will need bh_result->b_size to tell it the size of the hol

Re: DAX can not work on virtual nvdimm device

2016-08-31 Thread Ross Zwisler
or lahf_lm Another thing to do would be to run your test on bare metal on the same machine and see if you get different results. Thanks, - Ross

Re: [PATCH v2 0/9] re-enable DAX PMD support

2016-08-31 Thread Ross Zwisler
On Wed, Aug 31, 2016 at 08:20:48PM +, Kani, Toshimitsu wrote: > On Tue, 2016-08-30 at 17:01 -0600, Ross Zwisler wrote: > > On Tue, Aug 23, 2016 at 04:04:10PM -0600, Ross Zwisler wrote: > > > > > > DAX PMDs have been disabled since Jan Kara introduced DAX radix >

Re: [PATCH v2 0/9] re-enable DAX PMD support

2016-09-01 Thread Ross Zwisler
On Wed, Aug 31, 2016 at 10:08:59PM +, Kani, Toshimitsu wrote: > On Wed, 2016-08-31 at 15:36 -0600, Ross Zwisler wrote: > > On Wed, Aug 31, 2016 at 08:20:48PM +, Kani, Toshimitsu wrote: > > > > > > On Tue, 2016-08-30 at 17:01 -0600, Ross Zwisler wrote: > >

Re: DAX can not work on virtual nvdimm device

2016-09-01 Thread Ross Zwisler
On Wed, Aug 31, 2016 at 04:44:47PM +0800, Xiao Guangrong wrote: > On 08/31/2016 01:09 AM, Dan Williams wrote: > > > > Can you post your exact reproduction steps? This test is not failing for > > me. > > > > Sure. > > 1. make the guest kernel based on your tree, the top commit is >10d7902f

[PATCH 3/3] radix-tree tests: properly initialize mutex

2016-08-08 Thread Ross Zwisler
The pthread_mutex_t in regression1.c wasn't being initialized properly. Signed-off-by: Ross Zwisler --- tools/testing/radix-tree/regression1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/radix-tree/regression1.c b/tools/testing/radix-tree/regressi

[PATCH 2/3] radix-tree tests: add iteration test

2016-08-08 Thread Ross Zwisler
radix_tree_iter_next() zeros out iter->tags, so we end up exiting radix_tree_next_slot() here: if (flags & RADIX_TREE_ITER_TAGGED) { void *canon = slot; iter->tags >>= 1; if (unlikely(!iter->tags)) return NULL; Signed

[PATCH 1/3] radix-tree: 'slot' can be NULL in radix_tree_next_slot()

2016-08-08 Thread Ross Zwisler
ot'. 4) radix_tree_iter_next() via tagged iteration like radix_tree_for_each_tagged(). This happens in shmem_wait_for_pins(). radix_tree_iter_next() zeros out iter->tags, so we end up exiting radix_tree_next_slot() here: if (flags & RADIX_TREE_ITER_TAGGED) { void *canon = slot;

Re: [PATCH v2] libnvdimm, nd_blk: mask off reserved status bits

2016-08-08 Thread Ross Zwisler
On Tue, Aug 02, 2016 at 12:26:53PM -0600, Ross Zwisler wrote: > The "NVDIMM Block Window Driver Writer's Guide": > > http://pmem.io/documents/ > http://pmem.io/documents/NVDIMM_DriverWritersGuide-July-2016.pdf > > defines the layout of the block window st

[PATCH v2 8/9] dax: re-enable DAX PMD support

2016-08-23 Thread Ross Zwisler
oblem if we need to, but I think that the cases where both 2MiB entries and 4K entries are being used for the same range will be rare enough and the gain small enough that it probably won't be worth the complexity. Signed-off-by: Ross Zwisler --- fs/dax.c

[PATCH v2 9/9] dax: remove "depends on BROKEN" from FS_DAX_PMD

2016-08-23 Thread Ross Zwisler
Now that DAX PMD faults are once again working and are now participating in DAX's radix tree locking scheme, allow their config option to be enabled. Signed-off-by: Ross Zwisler --- fs/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/Kconfig b/fs/Kconfig index 2bc7ad7..b6

[PATCH v2 5/9] dax: make 'wait_table' global variable static

2016-08-23 Thread Ross Zwisler
The global 'wait_table' variable is only used within fs/dax.c, and generates the following sparse warning: fs/dax.c:39:19: warning: symbol 'wait_table' was not declared. Should it be static? Make it static so it has scope local to fs/dax.c, and to make sparse happy. Signed-

[PATCH v2 0/9] re-enable DAX PMD support

2016-08-23 Thread Ross Zwisler
holes in ext2_get_block(). (Jan) - Made the 'wait_table' global variable static in respnse to a sparse warning. - Fixed some more inconsitent usage between the names 'ret' and 'entry' for radix tree entry variables. Ross Zwisler (9): ext4: allow DAX writeba

[PATCH v2 6/9] dax: consistent variable naming for DAX entries

2016-08-23 Thread Ross Zwisler
No functional change. Consistently use the variable name 'entry' instead of 'ret' for DAX radix tree entries. This was already happening in most of the code, so update get_unlocked_mapping_entry(), grab_mapping_entry() and dax_unlock_mapping_entry(). Signed-off-by: Ross Zw

[PATCH v2 2/9] ext2: tell DAX the size of allocation holes

2016-08-23 Thread Ross Zwisler
gned-off-by: Ross Zwisler --- fs/ext2/inode.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index d5c7d09..dd55d74 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c @@ -773,6 +773,9 @@ int ext2_get_block(struct inode *inode, sector_t iblock, struct buffe

[PATCH v2 3/9] ext4: tell DAX the size of allocation holes

2016-08-23 Thread Ross Zwisler
k() has the hole size information from ext4_map_blocks(), so populate bh->b_size. Signed-off-by: Ross Zwisler Reviewed-by: Jan Kara --- fs/ext4/inode.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 0900cb4..9075fac 100644 --- a/fs/ext4/inode.c

[PATCH v2 7/9] dax: coordinate locking for offsets in PMD range

2016-08-23 Thread Ross Zwisler
he same bit lock. To accomplish this, for ranges covered by a PMD entry we will instead lock based on the page offset of the beginning of the PMD entry. The 'mapping' pointer is still used in the same way. Signed-off-by: Ross Zwisler --- fs/dax.c| 37

[PATCH v2 1/9] ext4: allow DAX writeback for hole punch

2016-08-23 Thread Ross Zwisler
Currently when doing a DAX hole punch with ext4 we fail to do a writeback. This is because the logic around filemap_write_and_wait_range() in ext4_punch_hole() only looks for dirty page cache pages in the radix tree, not for dirty DAX exceptional entries. Signed-off-by: Ross Zwisler Reviewed-by

[PATCH v2 4/9] dax: remove buffer_size_valid()

2016-08-23 Thread Ross Zwisler
Now that all our supported filesystems (ext2, ext4 and XFS) all properly set bh.b_size when we call get_block() for a hole, rely on that value and remove the buffer_size_valid() sanity check. Signed-off-by: Ross Zwisler Reviewed-by: Jan Kara --- fs/dax.c | 22 +- 1 file

[PATCH] mm: silently skip readahead for DAX inodes

2016-08-24 Thread Ross Zwisler
don't do any work. Signed-off-by: Ross Zwisler Reported-by: Jeff Moyer Cc: sta...@vger.kernel.org --- mm/readahead.c | 4 1 file changed, 4 insertions(+) diff --git a/mm/readahead.c b/mm/readahead.c index 65ec288..a9ba1be 100644 --- a/mm/readahead.c +++ b/mm/readahead.c @@ -8,6 +

[PATCH v2] mm: silently skip readahead for DAX inodes

2016-08-24 Thread Ross Zwisler
don't do any work. Signed-off-by: Ross Zwisler Reported-by: Jeff Moyer --- Changes from v1: - Added a comment so readers don't have to go putzing around in the git tree to understand why we're doing what we're doing. :) (akpm) --- mm/readahead.c | 9 + 1 file cha

[PATCH v2 RESEND] mm: silently skip readahead for DAX inodes

2016-08-25 Thread Ross Zwisler
don't do any work. Signed-off-by: Ross Zwisler Reported-by: Jeff Moyer Cc: [4.5+] --- Changes from v1: - Added a comment so readers don't have to go putzing around in the git tree to understand why we're doing what we're doing. :) (akpm) - Resending, adding sta...@vger

Re: [PATCH v2 2/9] ext2: tell DAX the size of allocation holes

2016-08-25 Thread Ross Zwisler
On Thu, Aug 25, 2016 at 12:57:28AM -0700, Christoph Hellwig wrote: > Hi Ross, > > can you take at my (fully working, but not fully cleaned up) version > of the iomap based DAX code here: > > http://git.infradead.org/users/hch/vfs.git/shortlog/refs/heads/iomap-dax > >

[PATCH] dax: explain how read(2)/write(2) addresses are validated

2017-08-16 Thread Ross Zwisler
arbitrary kernel addresses with this path. Signed-off-by: Ross Zwisler --- Adding a comment instead of adding redundant access_ok() calls in the DAX code. If this is the wrong path to take, please let me know. fs/dax.c | 5 + 1 file changed, 5 insertions(+) diff --git a/fs/dax.c b/fs/dax.c

Re: [PATCH] dax: explain how read(2)/write(2) addresses are validated

2017-08-17 Thread Ross Zwisler
On Thu, Aug 17, 2017 at 10:53:32AM +0200, Jan Kara wrote: > On Wed 16-08-17 11:36:15, Ross Zwisler wrote: > > Add a comment explaining how the user addresses provided to read(2) and > > write(2) are validated in the DAX I/O path. We call dax_copy_from_iter() > > or copy_to_it

Re: [RFC PATCH 2/2] mm, fs: daxfile, an interface for byte-addressable updates to pmem

2017-06-20 Thread Ross Zwisler
On Mon, Jun 19, 2017 at 10:22:14PM -0700, Darrick J. Wong wrote: <> > Fourth, the VFS entry points for things like read, write, truncate, > utimes, fallocate, etc. all just bail out if S_IOMAP_FROZEN is set on a > file, so that the block map cannot be modified. mmap is still allowed, > as we've di

[PATCH] dax: improve fix for colliding PMD & PTE entries

2017-05-26 Thread Ross Zwisler
the fault handlers and just retry. Signed-off-by: Ross Zwisler Cc: sta...@vger.kernel.org --- For both the -mm tree and for stable, feel free to squash this with the original commit if you think that is appropriate. This has passed targeted testing and an xfstests run. --- fs/dax.c | 11 +++---

Re: [HMM 07/15] mm/ZONE_DEVICE: new type of ZONE_DEVICE for unaddressable memory v3

2017-05-30 Thread Ross Zwisler
d since v1: > - rename to device private memory (from device unaddressable) > > Signed-off-by: Jérôme Glisse > Acked-by: Dan Williams > Cc: Ross Zwisler > --- <> > @@ -35,18 +37,88 @@ static inline struct vmem_altmap *to_vmem_altmap(unsigned

Re: [PATCH 2/2] dm log writes: add support for DAX

2017-10-24 Thread Ross Zwisler
On Tue, Oct 24, 2017 at 03:22:23PM -0400, Mike Snitzer wrote: > On Fri, Oct 20 2017 at 1:24am -0400, > Ross Zwisler wrote: > > > Now that we have the ability log filesystem writes using a flat buffer, add > > support for DAX. Unfortunately we can't easily track data

Re: [fstests PATCH v2] generic: add test for DAX MAP_SYNC support

2017-10-25 Thread Ross Zwisler
On Wed, Oct 25, 2017 at 03:19:22PM +0300, Amir Goldstein wrote: > On Sun, Oct 22, 2017 at 9:56 AM, Amir Goldstein wrote: > > On Sat, Oct 21, 2017 at 12:25 AM, Ross Zwisler > > wrote: > >> Add a test that exercises DAX's new MAP_SYNC flag. > >> > >>

[fstests PATCH v3] generic: add test for DAX MAP_SYNC support

2017-10-25 Thread Ross Zwisler
at we write via the mmap(), so we can't do any data integrity checking. We can only verify that the metadata writes for the page faults happened. Signed-off-by: Ross Zwisler --- Changes since v2: - Fixed _require_log_writes() so that DAX will be disallowed if the version of the dm-log-wr

  1   2   3   4   5   6   7   8   9   10   >