From: Al Viro <viro@ZenIV.linux.org.uk>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Richard Narron <comet.berkeley@gmail.com>,
Will B <will.brokenbourgh2877@gmail.com>,
linux-fsdevel <linux-fsdevel@vger.kernel.org>,
Evgeniy Dushistov <dushistov@mail.ru>
Subject: Re: UFS s_maxbytes bogosity
Date: Thu, 8 Jun 2017 00:48:37 +0100 [thread overview]
Message-ID: <20170607234837.GA20362@ZenIV.linux.org.uk> (raw)
In-Reply-To: <20170605034936.GQ6365@ZenIV.linux.org.uk>
On Mon, Jun 05, 2017 at 04:49:36AM +0100, Al Viro wrote:
> Grrr... OK, I'll put together a patch fixing that idiocy. As it is, rw mounts
> of ufs on-disk ->i_blocks not updated and, AFAICS, can lead to disk space leaks
> on inode deletion.
Turns out it's even worse than that, and some of the breakage in there is my fault.
I'll fix what I can, but for now I would suggest
* making UFS_FS_WRITE depend on BROKEN; it had always been experimental,
but since 2010 it had been actively buggering filesystems (aforementioned Jan's
bug + a bug of mine in 2015 series). I'll fix that stuff, but I'd expect
it to take a month or so, including serious testing. I have set the things up
for such testing (which has promptly caught all kinds of fun), but we are at -rc4
now, so it'll probably be the next cycle fodder, with interesting backporting
afterwards.
* for ->s_maxbytes, let's go with tree-imposed limit. Proper way of
dealing with ->i_blocks overflows is -ENOSPC when attempt to grab a block would've
caused such an overflow.
* If Evgeniy can resurface and take part in that fun, I'd be happy to help.
If not, well... guess I'll take the thing over until somebody willing to adopt it
comes along.
next prev parent reply other threads:[~2017-06-07 23:48 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-04 19:31 UFS s_maxbytes bogosity Linus Torvalds
2017-06-04 21:37 ` Al Viro
2017-06-04 21:58 ` Al Viro
2017-06-04 22:06 ` Al Viro
2017-06-04 23:26 ` Linus Torvalds
2017-06-05 0:11 ` Al Viro
2017-06-05 3:00 ` Linus Torvalds
2017-06-05 3:49 ` Al Viro
2017-06-07 23:48 ` Al Viro [this message]
2017-06-08 0:35 ` Richard Narron
2017-06-08 2:20 ` Al Viro
2017-06-08 22:15 ` Al Viro
2017-06-08 22:36 ` Linus Torvalds
2017-06-09 0:11 ` Richard Narron
2017-06-09 3:35 ` Al Viro
2017-06-09 17:34 ` Al Viro
2017-06-09 21:55 ` Richard Narron
2017-06-10 0:09 ` Richard Narron
2017-06-04 22:32 ` Theodore Ts'o
2017-06-05 0:02 ` Al Viro
2017-06-04 23:23 ` [PATCH 1/1] fs/ufs: Set UFS default maximum bytes per file Richard Narron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170607234837.GA20362@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=comet.berkeley@gmail.com \
--cc=dushistov@mail.ru \
--cc=linux-fsdevel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=will.brokenbourgh2877@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).