lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 19 Nov 2008 11:07:09 +0900
From:	"Akinobu Mita" <akinobu.mita@...il.com>
To:	"Andrew Morton" <akpm@...ux-foundation.org>
Cc:	"Tomas M" <tomas@...x.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] loop file resizable

2008/11/19 Andrew Morton <akpm@...ux-foundation.org>:
> On Mon, 17 Nov 2008 08:44:28 +0100
> Tomas M <tomas@...x.org> wrote:
>
>> The following patch against loop.c adds ability to 'resize' the loop device on the fly.
>> This may be practically very useful.
>>
>> One practical application is a loop file with XFS filesystem, already mounted:
>> You can easily enlarge the file (append some bytes) and then call
>> ioctl(fd, LOOP_SET_CAPACITY, new);
>> The loop driver will learn about the new size and you can use xfs_growfs
>> later on, which will allow you to use full capacity of the loop
>> file without the need to unmount.
>>
>
> Various people have tried this before, if I recall correctly.  One was
> Akinobu Mita (cc'ed here).
>
> I don't recall why that patch never was merged?

Yes, I did.
http://lkml.org/lkml/2006/5/23/26

There wasn't outstanding problem in that patch.
But I didn't send updated patch. Because I was just lazy.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ