Re: Mass-Hardlinking Oops

2009-10-13 Thread Florian Weimer
* Chris Mason: Of course, not necessarily right now, but when you introduce some other changes needing disk format change, please think of removing the hard link limit as well. Please keep in mind this is only a limit on the number of links to a single file where the links and the file are

Re: Mass-Hardlinking Oops

2009-10-13 Thread Yan, Zheng
On Tue, Oct 13, 2009 at 3:07 PM, Florian Weimer fwei...@bfk.de wrote: * Chris Mason: Of course, not necessarily right now, but when you introduce some other changes needing disk format change, please think of removing the hard link limit as well. Please keep in mind this is only a limit on

Re: ENOSPC at 94% full -- and causing BUGs elsewhere?

2009-10-13 Thread Chris Mason
On Mon, Oct 12, 2009 at 03:09:35PM +0100, Hugo Mills wrote: On Sun, Oct 04, 2009 at 08:06:30AM -0400, Chris Mason wrote: On Sat, Oct 03, 2009 at 05:55:32PM -0400, Josef Bacik wrote: On Sat, Oct 03, 2009 at 01:21:09PM +0100, Hugo Mills wrote: I've just had the following on my home

Re: ENOSPC at 94% full -- and causing BUGs elsewhere?

2009-10-13 Thread Yan, Zheng
On Tue, Oct 13, 2009 at 10:50 PM, Hugo Mills hugo-l...@carfax.org.uk wrote: On Tue, Oct 13, 2009 at 06:31:45AM -0400, Chris Mason wrote: On Mon, Oct 12, 2009 at 03:09:35PM +0100, Hugo Mills wrote: On Sun, Oct 04, 2009 at 08:06:30AM -0400, Chris Mason wrote: On Sat, Oct 03, 2009 at

Re: ENOSPC at 94% full -- and causing BUGs elsewhere?

2009-10-13 Thread Hugo Mills
On Tue, Oct 13, 2009 at 10:58:12PM +0800, Yan, Zheng wrote: On Tue, Oct 13, 2009 at 10:50 PM, Hugo Mills hugo-l...@carfax.org.uk wrote: On Tue, Oct 13, 2009 at 06:31:45AM -0400, Chris Mason wrote: On Mon, Oct 12, 2009 at 03:09:35PM +0100, Hugo Mills wrote: On Sun, Oct 04, 2009 at

btrfs/iSCSI/sparse file OOPS.

2009-10-13 Thread Ken D'Ambrosio
Hey, all. I've tried repeatedly to get an 800 GB sparse file on a 1 TB btrfs partition to work as an iSCSI target... and I can run fdisk on it (and see the iSCSI disk just fine), but when I try to create a partition and exit, it OOPSes every time. Ubuntu, kernel 2.6.31-13-generic is the latest

Re: Mass-Hardlinking Oops

2009-10-13 Thread Chris Mason
On Tue, Oct 13, 2009 at 10:45:43AM -0700, Zach Brown wrote: this thread. I get EMLINK when trying to create more than 311 (not 272) links in a directory what real-world application uses and needs this many hard links? I don't think that's a good counterargument for why this is not a

Re: ENOSPC at 94% full -- and causing BUGs elsewhere?

2009-10-13 Thread Yan, Zheng
On Wed, Oct 14, 2009 at 12:09 AM, Hugo Mills hugo-l...@carfax.org.uk wrote: On Tue, Oct 13, 2009 at 10:58:12PM +0800, Yan, Zheng  wrote: On Tue, Oct 13, 2009 at 10:50 PM, Hugo Mills hugo-l...@carfax.org.uk wrote: On Tue, Oct 13, 2009 at 06:31:45AM -0400, Chris Mason wrote: On Mon, Oct 12,

[PATCH 1/2] btrfs: enable discard support

2009-10-13 Thread Christoph Hellwig
The discard support code in btrfs currently is guarded by ifdefs for BIO_RW_DISCARD, which is never defines as it's the name of an enum memeber. Just remove the useless ifdefs to actually enable the code. Signed-off-by: Christoph Hellwig h...@lst.de Index: linux-2.6/fs/btrfs/extent-tree.c