Re: bug in 2.6.22-rc2: loop mount limited to one single iso image

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ken Chen
Date: Monday, May 21, 2007 - 9:37 am

On 5/21/07, Ken Chen <kenchen@google.com> wrote:

The easiest way is to reinstate max_loop and create "max_loop" device
up front at module load time.  However, that will lose all the "fancy
on-demand device instantiation feature".

So I propose we do the following:

1. have the module honor "max_loop" parameter and create that many
device upfront on module load (max_loop will also be a hard max) iff
user specify the parameter.
2. if max_loop is not specified, default create 8 loop device.  User
can extent more loop device by create device node themselves and have
kernel automatically instantiate loop device on-demand.

Is this acceptable?  Patch in a bit.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: bug in 2.6.22-rc2: loop mount limited to one single is ..., Andrey Borzenkov, (Sat May 19, 11:58 pm)
Re: bug in 2.6.22-rc2: loop mount limited to one single is ..., Ken Chen, (Mon May 21, 9:37 am)
Re: bug in 2.6.22-rc2: loop mount limited to one single is ..., Andrey Borzenkov, (Mon May 21, 10:51 am)