Re: [PATCH] Introduce a method to catch mmap_region (was: Recent kernel "mount" slow)

2012-11-29 Thread Chris Mason
On Wed, Nov 28, 2012 at 11:16:21PM -0700, Linus Torvalds wrote: > On Wed, Nov 28, 2012 at 6:58 PM, Linus Torvalds > wrote: > > > > But the fact that the code wants to do things like > > > > block = (sector_t)page->index << (PAGE_CACHE_SHIFT - bbits); > > > > seriously seems to be the main

Re: [PATCH] Introduce a method to catch mmap_region (was: Recent kernel "mount" slow)

2012-11-29 Thread Chris Mason
On Thu, Nov 29, 2012 at 07:12:49AM -0700, Chris Mason wrote: > On Wed, Nov 28, 2012 at 11:16:21PM -0700, Linus Torvalds wrote: > > On Wed, Nov 28, 2012 at 6:58 PM, Linus Torvalds > > wrote: > > > > > > But the fact that the code wants to do things like > >

Re: [PATCH] Introduce a method to catch mmap_region (was: Recent kernel "mount" slow)

2012-11-29 Thread Chris Mason
On Thu, Nov 29, 2012 at 10:26:56AM -0700, Linus Torvalds wrote: > On Thu, Nov 29, 2012 at 6:12 AM, Chris Mason wrote: > > > > Jumping in based on Linus original patch, which is doing something like > > this: > > > > set_blocksize() { > > block new c

Re: [PATCH v2] Do a proper locking for mmap and block size change

2012-11-29 Thread Chris Mason
On Thu, Nov 29, 2012 at 12:02:17PM -0700, Linus Torvalds wrote: > On Thu, Nov 29, 2012 at 9:19 AM, Linus Torvalds > wrote: > > > > I think I'll apply this for 3.7 (since it's too late to do anything > > fancier), and then for 3.8 I will rip out all the locking entirely, > > because looking at the

Re: [PATCH v2] Do a proper locking for mmap and block size change

2012-11-29 Thread Chris Mason
On Thu, Nov 29, 2012 at 12:26:06PM -0700, Linus Torvalds wrote: > On Thu, Nov 29, 2012 at 11:15 AM, Chris Mason > wrote: > > > > The fs/buffer.c part makes sense during a quick read. But > > fs/direct-io.c plays with i_blkbits too. The semaphore was fixing real >

Re: [PATCH v2] Do a proper locking for mmap and block size change

2012-11-29 Thread Chris Mason
On Thu, Nov 29, 2012 at 01:52:22PM -0700, Linus Torvalds wrote: > On Thu, Nov 29, 2012 at 11:48 AM, Chris Mason > wrote: > > > > It was all a trick to get you to say the AIO code was sane. > > It's only sane compared to the DIO code. > > That said, I hate

Re: [PATCH v2] Do a proper locking for mmap and block size change

2012-11-29 Thread Chris Mason
On Thu, Nov 29, 2012 at 03:36:38PM -0700, Linus Torvalds wrote: > On Thu, Nov 29, 2012 at 2:16 PM, Linus Torvalds > wrote: > > > > But you're right. The direct-IO code really *is* violating that, and > > knows that get_block() ends up being defined in i_blkbits regardless > > of b_size. > > It tu

Re: [PATCH v2] Do a proper locking for mmap and block size change

2012-11-29 Thread Chris Mason
On Thu, Nov 29, 2012 at 07:13:02PM -0700, Linus Torvalds wrote: > On Thu, Nov 29, 2012 at 5:16 PM, Chris Mason wrote: > > > > I searched through filemap.c for the magic i_size check that would let > > us get away with ignoring i_blkbits in get_blocks, but its just not

[GIT PULL] Btrfs fixes

2013-02-06 Thread Chris Mason
crement in btrfs_file_aio_write() (+2/-1) Jan Schmidt (1) commits (+10/-12): Btrfs: fix EDQUOT handling in btrfs_delalloc_reserve_metadata Liu Bo (1) commits (+38/-9): Btrfs: fix race between snapshot deletion and getting inode Chris Mason (1) commits (+4/-1): Btrfs: move d_instantiate o

Re: Oops when mounting btrfs partition

2013-02-02 Thread Chris Mason
Hi Arnd, First things first, nospace_cache is a safe thing to use. It is slow because it's finding free extents, but it's just a cache and always safe to discard. With your other errors, I'd just mount it readonly and then you won't waste time on atime updates. I'll take a look at the BUG you g

Re: [GIT PULL] Btrfs fixes

2013-01-24 Thread Chris Mason
On Tue, Jan 22, 2013 at 05:48:33PM -0700, Chris Mason wrote: > Hi Linus, > > My for-linus branch has our batch of btrfs fixes: > > git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus > > We've been hammering away at a crc corruption as well, w

[GIT PULL] Btrfs fixes (v2)

2013-01-24 Thread Chris Mason
Hi Linus, My for-linus branch has our batch of btrfs fixes: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus It turns out that we had two crc bugs when running fsx-linux in a loop. Many thanks to Josef, Miao Xie, and Dave Sterba for nailing it all down. Miao also h

[GIT PULL] Btrfs fixes

2013-03-17 Thread Chris Mason
Hi Linus, My for-linus branch has some btrfs fixes: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus Eric's rcu barrier patch fixes a long standing problem with our unmount code hanging on to devices in workqueue helpers. Liu Bo nailed down a difficult assertion for

[no subject]

2012-08-29 Thread Chris Mason
_refs (+21/-73) Btrfs: fix race in run_clustered_refs (+17/-0) Chris Mason (1) commits (+3/-0): Btrfs: don't run __tree_mod_log_free_eb on leaves Fengguang Wu (1) commits (+3/-2): btrfs: fix second lock in btrfs_delete_delayed_items() Miao Xie (1) commits (+1/-0): Btrfs:

[GIT PULL] Btrfs updates

2012-08-29 Thread Chris Mason
_refs (+21/-73) Btrfs: fix race in run_clustered_refs (+17/-0) Chris Mason (1) commits (+3/-0): Btrfs: don't run __tree_mod_log_free_eb on leaves Fengguang Wu (1) commits (+3/-2): btrfs: fix second lock in btrfs_delete_delayed_items() Miao Xie (1) commits (+1/-0): Btrfs:

Re: [RFC] ext3: per-process soft-syncing data=ordered mode

2008-01-31 Thread Chris Mason
On Thursday 31 January 2008, Jan Kara wrote: > On Thu 31-01-08 11:56:01, Chris Mason wrote: > > On Thursday 31 January 2008, Al Boldi wrote: > > > Andreas Dilger wrote: > > > > On Wednesday 30 January 2008, Al Boldi wrote: > > > > > And, a quick test of

Re: [RFC] ext3: per-process soft-syncing data=ordered mode

2008-01-31 Thread Chris Mason
On Thursday 31 January 2008, Al Boldi wrote: > Andreas Dilger wrote: > > On Wednesday 30 January 2008, Al Boldi wrote: > > > And, a quick test of successive 1sec delayed syncs shows no hangs until > > > about 1 minute (~180mb) of db-writeout activity, when the sync abruptly > > > hangs for minutes

Re: [ANNOUNCE] Btrfs v0.12 released

2008-02-11 Thread Chris Mason
On Sunday 10 February 2008, David Miller wrote: > From: Chris Mason <[EMAIL PROTECTED]> > Date: Wed, 6 Feb 2008 12:00:13 -0500 > > This function never returns an error, so the simplest fix was to > return the hash value which avoids all of the issues. In attempting > othe

Re: BTRFS only works with PAGE_SIZE <= 4K

2008-02-12 Thread Chris Mason
On Tuesday 12 February 2008, David Miller wrote: > From: Chris Mason <[EMAIL PROTECTED]> > Date: Wed, 6 Feb 2008 12:00:13 -0500 > > > So, here's v0.12. > > Any page size larger than 4K will not work with btrfs. All of the > extent stuff assumes that PAGE_

Re: BTRFS partition usage...

2008-02-12 Thread Chris Mason
On Tuesday 12 February 2008, Jan Engelhardt wrote: > On Feb 12 2008 09:08, Chris Mason wrote: > >> >So, if Btrfs starts zeroing at 1k, will that be acceptable for you? > >> > >> Something looks wrong here. Why would btrfs need to zero at all? > >>

Re: BTRFS partition usage...

2008-02-12 Thread Chris Mason
On Tuesday 12 February 2008, Jan Engelhardt wrote: > On Feb 12 2008 08:49, Chris Mason wrote: > >> > This is a real issue on sparc where the default sun disk labels > >> > created use an initial partition where block zero aliases the disk > >> > label. It to

Re: BTRFS partition usage...

2008-02-12 Thread Chris Mason
On Tuesday 12 February 2008, Jan Engelhardt wrote: > On Feb 12 2008 09:35, Chris Mason wrote: > >> and slap the bootloader into "MBR", just like on x86. > >> Or I am missing something.. > > > >It was a request from hpa, and he clearly had something in

Re: BTRFS partition usage...

2008-02-12 Thread Chris Mason
On Tuesday 12 February 2008, David Miller wrote: > From: David Miller <[EMAIL PROTECTED]> > Date: Mon, 11 Feb 2008 23:21:39 -0800 (PST) > > > Filesystems like ext2 put their superblock 1 block into the partition > > in order to avoid overwriting disk labels and other uglies. UFS does > > this too,

Re: [ANNOUNCE] Btrfs v0.12 released

2008-02-12 Thread Chris Mason
On Tuesday 12 February 2008, David Miller wrote: > From: Chris Mason <[EMAIL PROTECTED]> > Date: Mon, 11 Feb 2008 08:42:20 -0500 > > > The kernel is actually worse, because the set/get macros are more > > complex. Some live in ctree.h like in the progs, but the na

[GIT PULL] a large btrfs update

2012-07-26 Thread Chris Mason
292/-15) Btrfs: don't update atime on RO subvolumes (+7/-0) Btrfs: add btrfs_compare_trees function (+440/-0) Btrfs: make iref_to_path non static (+9/-5) Chris Mason (5) commits (+22/-9): Btrfs: call the ordered free operation without any locks held (+8/-1) Btrfs: don't

[GIT PULL] Btrfs fixes

2012-10-26 Thread Chris Mason
Hi Linus, My for-linus branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus Has our series of fixes for the next rc. The biggest batch is from Jan Schmidt, fixing up some problems in our subvolume quota code and fixing btrfs send/receive to work with the new ext

[GIT PULL] Btrfs

2013-10-05 Thread Chris Mason
Hi Linus, Please pull my for-linus branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus I've merged my for-linus up to 3.12-rc3 because the top commit is only meant for 3.12. The rest of the fixes are also available in my master branch on top of my last 3.11 bas

[GIT PULL] Btrfs

2013-07-09 Thread Chris Mason
Hi Linus, This Btrfs pull is available in two flavors: First, my for-linus branch has it against all the btrfs pulls from 3.10: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus Or, with a merge commit on top of 3.10 (master branch): git://git.kernel.org/pub/scm/lin

Re: Build failures due to commit 416161db (btrfs: offline dedupe)

2013-09-13 Thread Chris Mason
Quoting Mark Fasheh (2013-09-13 13:58:01) > On Fri, Sep 13, 2013 at 01:00:22PM -0400, Chris Mason wrote: > > Quoting Guenter Roeck (2013-09-13 12:35:35) > > I'm happy to fix this with a bigger put of the info struct, just > > let me know the preferred arch-happy solution.

[GIT PULL] Btrfs

2013-09-12 Thread Chris Mason
Hi Linus, Please pull my for-linus branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus This is against 3.11-rc7, but was pulled and tested against your tree as of yesterday. We do have two small incrementals queued up, but I wanted to get this bunch out the doo

Re: Build failures due to commit 416161db (btrfs: offline dedupe)

2013-09-13 Thread Chris Mason
Quoting Guenter Roeck (2013-09-13 12:35:35) > On Fri, Sep 13, 2013 at 03:52:43PM +0200, Geert Uytterhoeven wrote: > > On Fri, Sep 13, 2013 at 3:33 PM, Guenter Roeck wrote: > > > fs/btrfs/ioctl.c: In function 'btrfs_ioctl_file_extent_same': > > > fs/btrfs/ioctl.c:2802:3: error: implicit declaration

[GIT PULL] Btrfs

2013-09-22 Thread Chris Mason
Hi Linus, Please pull my for-linus branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus These are mostly bug fixes and a two small performance fixes. The most important of the bunch are Josef's fix for a snapshotting regression and Mark's update to fix compile p

Re: [PATCH] Btrfs: remove repeated eb->pages check in, disk-io.c/csum_dirty_buffer

2012-10-09 Thread Chris Mason
On Mon, Oct 08, 2012 at 07:26:15AM -0600, Wang Sheng-Hui wrote: > In csum_dirty_buffer, we first get eb from page->private. > Then we check if the page is the first page of eb. Later > we check it again. Remove the repeated check here. You had the right idea here, two checks and one has a warning,

[GIT PULL] Btrfs

2012-10-09 Thread Chris Mason
btrfs: move inline function code to header file (+12/-14) Mark Fasheh (2) commits (+848/-116): btrfs: extended inode ref iteration (+138/-37) btrfs: extended inode refs (+710/-79) Wei Yongjun (2) commits (+3/-6): Btrfs: fix possible memory leak in scrub_setup_recheck_block() (+1/-0) Btr

Re: [PATCH v2] Do a proper locking for mmap and block size change

2012-11-30 Thread Chris Mason
On Thu, Nov 29, 2012 at 07:49:10PM -0700, Dave Chinner wrote: > On Thu, Nov 29, 2012 at 02:16:50PM -0800, Linus Torvalds wrote: > > On Thu, Nov 29, 2012 at 1:29 PM, Chris Mason > > wrote: > > > > > > Just reading the new blkdev_get_blocks, it looks like we'r

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-07 Thread Chris Mason
On Fri, Dec 07, 2012 at 11:18:00AM -0700, Linus Torvalds wrote: > > > On Fri, 7 Dec 2012, Ric Wheeler wrote: > > > > Review is part of the way we work as a community and we should figure out > > how > > to fix our review process so that we can have meaningful results from the > > review or we l

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-07 Thread Chris Mason
On Fri, Dec 07, 2012 at 01:43:25PM -0700, Theodore Ts'o wrote: > On Fri, Dec 07, 2012 at 02:03:06PM -0500, Chris Mason wrote: > > > > That's not what happened though, and the right way forward from here is > > to give the bit to the feature,

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-07 Thread Chris Mason
On Fri, Dec 07, 2012 at 02:27:43PM -0700, Theodore Ts'o wrote: > On Fri, Dec 07, 2012 at 04:09:32PM -0500, Chris Mason wrote: > > Persistent trim is what I had in mind, but there are other ideas that do > > imply a change in behavior as well. Can we safely assume this feature

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-07 Thread Chris Mason
On Fri, Dec 07, 2012 at 02:49:04PM -0700, Ric Wheeler wrote: > On 12/07/2012 04:43 PM, Chris Mason wrote: > > On Fri, Dec 07, 2012 at 02:27:43PM -0700, Theodore Ts'o wrote: > >> On Fri, Dec 07, 2012 at 04:09:32PM -0500, Chris Mason wrote: > >>> Persistent trim i

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-07 Thread Chris Mason
On Fri, Dec 07, 2012 at 05:17:05PM -0700, Dave Chinner wrote: > On Fri, Dec 07, 2012 at 02:03:06PM -0500, Chris Mason wrote: [ dead and beaten fallocate ponies ] > > > On a single flash drive doing random 4K writes, xfs does 950MB/s into > > regular extents but only 400MB/s

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-10 Thread Chris Mason
On Fri, Dec 07, 2012 at 06:39:49PM -0700, Chris Mason wrote: > On Fri, Dec 07, 2012 at 05:17:05PM -0700, Dave Chinner wrote: > > On Fri, Dec 07, 2012 at 02:03:06PM -0500, Chris Mason wrote: > > > On a single flash drive doing random 4K writes, xfs does 950MB/s into > > &g

Re: memory corruption, possibly caused by i915

2013-01-02 Thread Chris Mason
On Wed, Jan 02, 2013 at 08:52:33AM -0700, Dave Jones wrote: > We've had a increased number of reports in the last six months or so > from Fedora users getting corrupted page tables. > At first I wrote it off to bad hardware, but they started happening frequently > enough that I began to wonder if i

[GIT PULL] Two btrfs reverts

2012-12-20 Thread Chris Mason
Hi Linus, I had missed that for two of the patches in my last pull, we had included different fixes during 3.7. My for-linus has them reverted: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus Chris Mason (2) commits (+6/-8): Revert "

Re: [BUG REPORT] Kernel panic on 3.9.0-rc7-4-gbb33db7

2013-04-19 Thread Chris Mason
Quoting Tejun Heo (2013-04-19 01:57:54) > > Ewweehh > > No wonder this thing crashes. Chris, can't the original bio carry > bbio in bi_private and let end_bio_extent_readpage() free the bbio > instead of abusing bi_bdev like this? Yes, we can definitely carry bbio up hig

Re: [BUG REPORT] Kernel panic on 3.9.0-rc7-4-gbb33db7

2013-04-19 Thread Chris Mason
Quoting Jens Axboe (2013-04-19 09:32:50) > > > > No wonder this thing crashes. Chris, can't the original bio carry > > bbio in bi_private and let end_bio_extent_readpage() free the bbio > > instead of abusing bi_bdev like this? > > Ugh, wtf. > > Chris, time for a swim in the bay :-) Yeah, I ca

[GIT PULL] Btrfs

2013-06-13 Thread Chris Mason
Hi Linus, Please pull my for-linus branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus This is an assortment of crash fixes: Josef Bacik (3) commits (+9/-8): Btrfs: don't delete fs_roots until after we cleanup the transaction (+1/-1) Btrfs: init relocat

Re: [3.10-rc6] WARNING: at fs/btrfs/inode.c:7961 btrfs_destroy_inode+0x265/0x2e0 [btrfs]()

2013-06-17 Thread Chris Mason
Quoting Dave Jones (2013-06-17 09:49:55) > Hit this while running this script in a loop.. > https://github.com/kernelslacker/io-tests/blob/master/setup.sh > [34385.251507] [ cut here ] > [34385.254068] WARNING: at fs/btrfs/inode.c:7961 > btrfs_destroy_inode+0x265/0x2e0 [btr

Re: [PATCH 0/2] introduce list_for_each_entry_del

2013-06-04 Thread Chris Mason
Quoting Christoph Hellwig (2013-06-04 10:48:56) > On Mon, Jun 03, 2013 at 03:55:55PM -0400, J??rn Engel wrote: > > Actually, when I compare the two invocations, I prefer the > > list_for_each_entry_del() variant over list_pop_entry(). > > > > while ((ref = list_pop_entry(&prefs, struct __p

Re: [3.10-rc6] WARNING: at fs/btrfs/inode.c:7961 btrfs_destroy_inode+0x265/0x2e0 [btrfs]()

2013-06-17 Thread Chris Mason
Quoting Dave Jones (2013-06-17 14:20:06) > On Mon, Jun 17, 2013 at 01:39:42PM -0400, Chris Mason wrote: > > Quoting Dave Jones (2013-06-17 09:49:55) > > > Hit this while running this script in a loop.. > > > https://github.com/kernelslacker/io-tests/blob/master/se

Re: [3.10-rc6] WARNING: at fs/btrfs/inode.c:7961 btrfs_destroy_inode+0x265/0x2e0 [btrfs]()

2013-06-19 Thread Chris Mason
Quoting Dave Jones (2013-06-17 14:58:10) > On Mon, Jun 17, 2013 at 02:42:27PM -0400, Chris Mason wrote: > > Quoting Dave Jones (2013-06-17 14:20:06) > > > On Mon, Jun 17, 2013 at 01:39:42PM -0400, Chris Mason wrote: > > > > Quoting Dave Jones (2013-06-17 09:49:

Re: [3.10-rc6] WARNING: at fs/btrfs/inode.c:7961 btrfs_destroy_inode+0x265/0x2e0 [btrfs]()

2013-06-19 Thread Chris Mason
Quoting Dave Jones (2013-06-19 14:34:50) > On Wed, Jun 19, 2013 at 02:02:33PM -0400, Chris Mason wrote: > > Quoting Dave Jones (2013-06-17 14:58:10) > > > On Mon, Jun 17, 2013 at 02:42:27PM -0400, Chris Mason wrote: > > > > Quoting Dave Jones (2013-06-17 14:20:

Re: btrfs triggered lockdep WARN.

2013-06-27 Thread Chris Mason
Quoting Dave Jones (2013-06-27 10:58:24) > Another bug caused by this script. > https://github.com/kernelslacker/io-tests/blob/master/setup.sh I'm still struggling to reproduce that one here. I've tried every variation I can think of but I'll try again. I really hope you don't already have CONF

Re: btrfs triggered lockdep WARN.

2013-06-27 Thread Chris Mason
Quoting Dave Jones (2013-06-27 11:19:22) > On Thu, Jun 27, 2013 at 11:01:30AM -0400, Chris Mason wrote: > > Quoting Dave Jones (2013-06-27 10:58:24) > > > Another bug caused by this script. > https://github.com/kernelslacker/io-tests/blob/master/setup.sh > > &

Re: [3.10] Oopses in kmem_cache_allocate() via prepare_creds()

2013-08-19 Thread Chris Mason
Quoting Linus Torvalds (2013-08-19 17:16:36) > On Mon, Aug 19, 2013 at 1:29 PM, Christoph Lameter wrote: > > On Mon, 19 Aug 2013, Simon Kirby wrote: > > > >>[... ] The > >> alloc/free traces are always the same -- always alloc_pipe_info and > >> free_pipe_info. This is seen on 3.10 and (now)

[GIT PULL] Btrfs

2013-08-10 Thread Chris Mason
Hi Linus Please pull my for-linus branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus These are assorted fixes, mostly from Josef nailing down xfstests runs. Zach also has a long standing fix for problems with readdir wrapping f_pos (or ctx->pos) These patches

[GIT PULL] Btrfs

2013-03-02 Thread Chris Mason
n btrfs_ioctl_send() (+0/-3) btrfs: handle null fs_info in btrfs_panic() (+7/-4) btrfs: fix varargs in __btrfs_std_error (+7/-7) btrfs: list_entry can't return NULL (+0/-2) Chris Mason (7) commits (+561/-30): Btrfs: reduce CPU contention while waiting for delayed extent operations (+70

Re: [GIT PULL] Btrfs

2013-03-02 Thread Chris Mason
On Sat, Mar 02, 2013 at 05:45:41PM -0700, Linus Torvalds wrote: > On Sat, Mar 2, 2013 at 7:15 AM, Chris Mason wrote: > > > > Our set of btrfs features, fixes and cleanups are in my for-linus > > branch: > > I *really* wish that big pull requests like this would com

Re: [PATCH] btrfs/raid56: Add missing #include

2013-03-03 Thread Chris Mason
On Sun, Mar 03, 2013 at 04:44:41AM -0700, Geert Uytterhoeven wrote: > tilegx_defconfig: > > fs/btrfs/raid56.c: In function 'btrfs_alloc_stripe_hash_table': > fs/btrfs/raid56.c:206:3: error: implicit declaration of function 'vzalloc' > [-Werror=implicit-function-declaration] > fs/btrfs/raid56.c:20

[GIT PULL] Btrfs fixup

2013-03-03 Thread Chris Mason
Hi Linus, Geert and James both sent this one in, sorry guys. git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus Geert Uytterhoeven (1) commits (+1/-0): btrfs/raid56: Add missing #include Total: (1) commits (+1/-0) fs/btrfs/raid56.c | 1 + 1 file changed, 1 inse

Re: [GIT PULL] SLAB changes for v3.10

2013-05-08 Thread Chris Mason
[ Sorry if I break the threading on this, I had to pull it off gmane ] On Tue, 7 May 2013, Tony Lindgren wrote: > OK got it narrowed down to CONFIG_DEBUG_SPINLOCK=y causing the problem > with commit 8a965b3b. Ain't nothing like bisecting and booting and then > diffing .config files on top of that.

Re: [GIT PULL] SLAB changes for v3.10

2013-05-08 Thread Chris Mason
Quoting Christoph Lameter (2013-05-08 14:25:49) > On Wed, 8 May 2013, Chris Mason wrote: > > > This patch fixes things for me, but to maintain the rules from > > Christoph's patch, kmalloc_caches[2] should have been created whenever > > kmalloc_caches[7] was done.

[PATCH] Fix crash during slab init

2013-05-08 Thread Chris Mason
at index 1 or 2 might not get created at all. This patch makes sure none of the slabs get skipped. Tony Lindgren bisected this down to the offending commit, which really helped because bisect kept bringing me to almost but not quite this one. Signed-off-by: Chris Mason Acked-by: Christoph

[GIT PULL] Btrfs

2013-05-09 Thread Chris Mason
Zach Brown (1) commits (+2/-0): btrfs: abort unlink trans in missed error case Simon Kirby (1) commits (+133/-109): Btrfs: Include the device in most error printk()s Nathaniel Yazdani (1) commits (+1/-1): btrfs: fix minor typo in comment Chris Mason (1) commits (+5/-0): Btrfs: al

[GIT PULL] One more btrfs

2013-04-13 Thread Chris Mason
Hi Linus My for-linus branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus Has a recent fix from Josef for our tree log replay code. It fixes problems where the inode counter for the number of bytes in the file wasn't getting updated properly during fsync replay

[GIT PULL] Btrfs updates

2013-05-18 Thread Chris Mason
possible when we fail to allocate memory (+6/-2) Btrfs: fix off-by-one in fiemap (+2/-2) Gabriel de Perthuis (1) commits (+5/-5): btrfs: don't stop searching after encountering the wrong item Alexandre Oliva (1) commits (+30/-55): btrfs: do away with non-whole_page extent I/O Ch

Re: linux-next: manual merge of the akpm tree with Linus' tree

2013-05-20 Thread Chris Mason
Quoting Stephen Rothwell (2013-05-20 00:04:49) > Hi Andrew, > > Today's linux-next merge of the akpm tree got conflicts in > fs/btrfs/inode.c and fs/btrfs/volumes.c between commit 9be3395bcd4a > ("Btrfs: use a btrfs bioset instead of abusing bio internals") from > Linus' tree and commit "block: pr

[GIT PULL] Btrfs updates

2013-03-29 Thread Chris Mason
ating (+9/-0) Miao Xie (2) commits (+5/-3): Btrfs: fix wrong return value of btrfs_lookup_csum() (+3/-1) Btrfs: fix wrong reservation of csums (+2/-2) Chris Mason (1) commits (+49/-0): Btrfs: fix race between mmap writes and compression Liu Bo (1) commits (+1/-1): Btrfs: update t

Re: [PATCH v2 0/4] ipc: reduce ipc lock contention

2013-03-07 Thread Chris Mason
On Thu, Mar 07, 2013 at 01:45:33AM -0700, Peter Zijlstra wrote: > On Tue, 2013-03-05 at 15:53 -0500, Rik van Riel wrote: > > > Indeed. Though how well my patches will work with Oracle will > > depend a lot on what kind of semctl syscalls they are doing. > > > > Does Oracle typically do one semop

Re: [PATCH v2 0/4] ipc: reduce ipc lock contention

2013-03-07 Thread Chris Mason
On Thu, Mar 07, 2013 at 08:54:55AM -0700, Dave Kleikamp wrote: > On 03/07/2013 06:55 AM, Chris Mason wrote: > > On Thu, Mar 07, 2013 at 01:45:33AM -0700, Peter Zijlstra wrote: > >> On Tue, 2013-03-05 at 15:53 -0500, Rik van Riel wrote: > >> > >>> Indeed. Th

[GIT PULL] Btrfs updates

2013-03-08 Thread Chris Mason
reloc roots (+2/-0) Btrfs: avoid deadlock on transaction waiting list (+7/-0) Btrfs: free all recorded tree blocks on error (+6/-3) Btrfs: do not BUG_ON on aborted situation (+12/-3) Btrfs: do not BUG_ON in prepare_to_reloc (+9/-1) Chris Mason (2) commits (+96/-63): Btrfs

[GIT PULL] a btrfs fix

2012-09-15 Thread Chris Mason
uge impact. Chris Mason (1): Revert "Btrfs: fix some error codes in btrfs_qgroup_inherit()" fs/btrfs/qgroup.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[GIT PULL 1/2] Btrfs fixes

2012-08-09 Thread Chris Mason
) Stefan Behrens (3) commits (+8/-36): Btrfs: fix a misplaced address operator in a condition (+1/-1) Btrfs: remove superblock writing after fatal error (+5/-33) Btrfs: fix that error value is changed by mistake (+2/-2) Chris Mason (2) commits (+40/-15): Btrfs: fix btrfs send for

[GIT PULL 2/2] Btrfs merge fix

2012-08-09 Thread Chris Mason
Hi Linus, Please pull my for-linus-3.6 branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus-3.6 It fixes a merging error in rc1. The calls to mnt_want_write should have been removed. Alexander Block (1): Btrfs: remove mnt_want_write call in btrfs_mksubvo

Re: very poor ext3 write performance on big filesystems?

2008-02-19 Thread Chris Mason
On Tuesday 19 February 2008, Tomasz Chmielewski wrote: > Theodore Tso schrieb: > > (...) > > > The following ld_preload can help in some cases. Mutt has this hack > > encoded in for maildir directories, which helps. > > It doesn't work very reliable for me. > > For some reason, it hangs for me som

Re: very poor ext3 write performance on big filesystems?

2008-02-19 Thread Chris Mason
On Tuesday 19 February 2008, Tomasz Chmielewski wrote: > Chris Mason schrieb: > > On Tuesday 19 February 2008, Tomasz Chmielewski wrote: > >> Theodore Tso schrieb: > >> > >> (...) > >> > >>> The following ld_preload can help in som

[ANNOUNCE] Btrfs v0.13

2008-02-21 Thread Chris Mason
Hello everyone, Btrfs v0.13 is now available for download from: http://oss.oracle.com/projects/btrfs/ We took another short break from the multi-device code to make the minor mods required to compile on 2.6.25, fix some problematic bugs and do more tuning. The most important fix is for file da

Re: [ANNOUNCE] Btrfs v0.13

2008-02-21 Thread Chris Mason
On Thursday 21 February 2008, Chris Mason wrote: > Hello everyone, > > Btrfs v0.13 is now available for download from: > > http://oss.oracle.com/projects/btrfs/ > > We took another short break from the multi-device code to make the minor > mods required to compile on 2.6.

[ANNOUNCE] Btrfs v0.12 released

2008-02-06 Thread Chris Mason
Hello everyone, I wasn't planning on releasing v0.12 yet, and it was supposed to have some initial support for multiple devices. But, I have made a number of performance fixes and small bug fixes, and I wanted to get them out there before the (destabilizing) work on multiple-devices took over.

Re: [GIT PULL 1/2] Btrfs fixes

2012-08-21 Thread Chris Mason
On Mon, Aug 20, 2012 at 07:55:59PM -0600, Linus Torvalds wrote: > On Mon, Aug 20, 2012 at 6:53 PM, Chris Samuel wrote: > > > > This pull request with a whole heap of btrfs fixes (46 commits) appears > > not to have been merged yet, does anyone know if it was rejected or just > > missed ? > > Read

Re: 3.4.4-rt13: btrfs + xfstests 006 = BOOM.. and a bonus rt_mutex deadlock report for absolutely free!

2012-07-12 Thread Chris Mason
On Thu, Jul 12, 2012 at 05:07:58AM -0600, Thomas Gleixner wrote: > On Thu, 12 Jul 2012, Mike Galbraith wrote: > > crash> struct rt_mutex 0x8801770601c8 > > struct rt_mutex { > > wait_lock = { > > raw_lock = { > > slock = 7966 > > } > > }, > > wait_list = { > > node_list

Re: 3.4.4-rt13: btrfs + xfstests 006 = BOOM.. and a bonus rt_mutex deadlock report for absolutely free!

2012-07-13 Thread Chris Mason
On Fri, Jul 13, 2012 at 04:26:26AM -0600, Thomas Gleixner wrote: > On Fri, 13 Jul 2012, Mike Galbraith wrote: > > On Fri, 2012-07-13 at 11:52 +0200, Thomas Gleixner wrote: > > > On Fri, 13 Jul 2012, Mike Galbraith wrote: > > > > On Thu, 2012-07-12 at 15:31 +0200, Thomas Gleixner wrote: > > > > >

[GIT PULL] Btrfs fixes

2013-01-22 Thread Chris Mason
Hi Linus, My for-linus branch has our batch of btrfs fixes: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus We've been hammering away at a crc corruption as well, which I was really hoping to get into this pull. It isn't nailed down yet, but we were finally able to

Re: [GIT PULL] Btrfs fixes

2013-01-22 Thread Chris Mason
On Tue, Jan 22, 2013 at 06:28:21PM -0700, Liu Bo wrote: > On Tue, Jan 22, 2013 at 07:48:33PM -0500, Chris Mason wrote: > > Hi Linus, > > > > My for-linus branch has our batch of btrfs fixes: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.

[GIT PULL] Btrfs updates

2013-02-15 Thread Chris Mason
Hi Linus, If you're doing another RC, please grab these two. Otherwise I'll send them off to -stable. git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus This fixes a long standing problem where the btrfs scan ioctl was racing with mkfs.btrfs and dropping dirty pages c

Re: linux-next: build failure after merge of the btrfs tree

2012-12-16 Thread Chris Mason
On Sun, Dec 16, 2012 at 04:00:22PM -0700, Stephen Rothwell wrote: > Hi Chris, > > After merging the btrfs tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > fs/btrfs/ioctl.c: In function 'btrfs_ioctl': > fs/btrfs/ioctl.c:3940:7: error: case label does not reduce to a

Re: linux-next: build failure after merge of the btrfs tree

2012-12-16 Thread Chris Mason
On Sun, Dec 16, 2012 at 04:00:22PM -0700, Stephen Rothwell wrote: > Hi Chris, > > After merging the btrfs tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > fs/btrfs/ioctl.c: In function 'btrfs_ioctl': > fs/btrfs/ioctl.c:3940:7: error: case label does not reduce to a

Re: linux-next: build failure after merge of the btrfs tree

2012-12-16 Thread Chris Mason
On Sun, Dec 16, 2012 at 05:15:04PM -0700, Chris Mason wrote: > On Sun, Dec 16, 2012 at 04:00:22PM -0700, Stephen Rothwell wrote: > Josef and I have sob on all of our commits (at least all the ones not in > 3.7, I didn't go back farther). In this case the Author was Stefan and

Re: linux-next: build failure after merge of the btrfs tree

2012-12-16 Thread Chris Mason
On Sun, Dec 16, 2012 at 08:13:55PM -0700, Stephen Rothwell wrote: > Hi Chris, > > On Sun, 16 Dec 2012 21:52:41 -0500 Chris Mason > wrote: > > > > On Sun, Dec 16, 2012 at 05:15:04PM -0700, Chris Mason wrote: > > > On Sun, Dec 16, 2012 at 04:00:22PM -0700, Stephe

[GIT PULL] Btrfs updates

2012-12-17 Thread Chris Mason
(+16/-0): btrfs: Notify udev when removing device Anand Jain (1) commits (+16/-16): Btrfs: rename root_times_lock to root_item_lock Alexander Block (1) commits (+11/-2): Btrfs: merge inode_list in __merge_refs Chris Mason (1) commits (+95/-2): Btrfs: fix hash overflow handling Masanari Iid

dma engine bugs

2013-01-17 Thread Chris Mason
Hi Dan, I'm doing some benchmarking on MD raid5/6 on 4 fusionio cards in an HP DL380p. I'm doing 128K randomw writes on a 4 drive raid6 with a 64K stripe size per drive. I have 4 fio processes sending down the aio/dio, and a high queue depth (8192). When I bump up the MD raid stripe cache size,

dma engine bugs

2013-01-17 Thread Chris Mason
[ Sorry resend with the right address for Dan ] Hi Dan, I'm doing some benchmarking on MD raid5/6 on 4 fusionio cards in an HP DL380p. I'm doing 128K randomw writes on a 4 drive raid6 with a 64K stripe size per drive. I have 4 fio processes sending down the aio/dio, and a high queue depth (8192

Re: dma engine bugs

2013-01-17 Thread Chris Mason
On Thu, Jan 17, 2013 at 07:53:18PM -0700, Dan Williams wrote: > On Thu, Jan 17, 2013 at 6:38 AM, Chris Mason wrote: > > [ Sorry resend with the right address for Dan ] > > > > Hi Dan, > > > > I'm doing some benchmarking on MD raid5/6 on 4 fusionio card

Re: [PATCH 00/37] Permit filesystem local caching

2008-02-22 Thread Chris Mason
On Thursday 21 February 2008, David Howells wrote: > David Howells <[EMAIL PROTECTED]> wrote: > > > Have you got before/after benchmark results? > > > > See attached. > > Attached here are results using BTRFS (patched so that it'll work at all) > rather than Ext3 on the client on the partition back

Re: data=guarded mode in ext3

2013-01-07 Thread Chris Mason
On Mon, Jan 07, 2013 at 08:46:56AM -0700, Ric Wheeler wrote: > On 12/03/2012 09:34 PM, Keith Chew wrote: > > Hi > > > > Just wanted to check if the "'Data=guarded' mode in Ext3" work started > > by Chris Mason, is still being considered for merging

Re: [PATCH] reiserfs old data bug 2.2.x (was: ReiserFS? Howreliable ...)

2001-04-05 Thread Chris Mason
On Thursday, April 05, 2001 02:13:55 AM +0100 Alan Cox <[EMAIL PROTECTED]> wrote: >> This is a reiserfs security issue, but only of theoretical nature (Even >> i= f >> triggered, it won't harm you). But the reason for this bug is in NFS >> (v2,= > > If the blocks contained my old /etc/shadow I

Re: gcc oopses with 2.4.3

2001-04-06 Thread Chris Mason
On Friday, April 06, 2001 05:44:42 PM +0200 Norbert Preining <[EMAIL PROTECTED]> wrote: > Hi! > > I get frequent `internal compiler error', killed with Sig 4 or Sig 11 > and sometimes Ooops from compiling X or kernel. > > System: 2.4.3-vanilla, reiserfs, glibc-2.1.3 > [~] gcc -v > Reading s

Re: PROBLEM: kernel oops in reiserfs under 2.4.2-ac28 and 2.4.3-ac3when rming files

2001-04-09 Thread Chris Mason
On Sunday, April 08, 2001 03:43:19 PM -0500 xOr <[EMAIL PROTECTED]> wrote: > [1.] kernel oops in reiserfs under 2.4.2-ac28 and 2.4.3-ac3 when rming > files Ok, reiserfs must be picking the wrong member in an array of function pointers, probably on a bad item from disk. We're testing some cod

Re: VFS problem

2001-04-18 Thread Chris Mason
On Wednesday, April 18, 2001 01:44:04 PM +0200 Jaquemet Loic <[EMAIL PROTECTED]> wrote: > Jaquemet Loic a écrit : > >> Sorry if this problem has already been disscussed. >> >> I run an linux box with a HD 30Go/reiserfs . >> I tried several 2.4 kernel ( 2.4.2 , 2.4.3 , 2.4.4-pre3 , 2.4.3-ac7) >>

[PATCH] reiserfs transaction overflow

2001-04-18 Thread Chris Mason
Hi guys, Under certain loads, the reiserfs journal can overflow the max transaction size, leading to a crash (but not corruption). When the transaction is too full for another writer to join, the writer triggers a commit, and waits for the next transaction. But, it doesn't properly check to mak

[PATCH] ac only, allow reiserfs files > 4GB

2001-04-18 Thread Chris Mason
This patch should set s_maxbytes correctly for reiserfs in the ac kernels, and adds a reiserfs_setattr call to catch expanding truncates past the MAX_NON_LFS limit for old format files. reiserfs_get_block already catches file writes and such for this case. It also adds a generic_inode_setattr c

  1   2   3   4   5   6   7   8   >