All of lore.kernel.org
 help / color / mirror / Atom feed
* swapfile on btrfs, temporary solution for wiki
@ 2013-10-21 20:37 Тимофей Титовец
  2013-10-24 20:52 ` Timofey Titovets
  0 siblings, 1 reply; 12+ messages in thread
From: Тимофей Титовец @ 2013-10-21 20:37 UTC (permalink / raw)
  To: linux-btrfs

Hello list, i know what btrfs  don't support swap files.
I read arch wiki and when i reading about systemd addon for auto
create swapfile on btrfs, i invent the way, how create and using swap
file, just see following sh code:

swapfile=$(losetup -f) #free loop device
truncate -s 8G /swap   #create 8G sparse swap file
losetup $swapfile /swap #mount file to loop
mkswap  $swapfile
swapon  $swapfile

i just adding this to rc.local and this just work.
May be, add it to Wiki as temporary solution to using swap file?
(sorry for my bad english)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: swapfile on btrfs, temporary solution for wiki
  2013-10-21 20:37 swapfile on btrfs, temporary solution for wiki Тимофей Титовец
@ 2013-10-24 20:52 ` Timofey Titovets
  2013-10-25  9:36   ` dima
                     ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Timofey Titovets @ 2013-10-24 20:52 UTC (permalink / raw)
  To: linux-btrfs

Hello, i suggest temporary solution to use swap file under btrfs.
I test it, and it work good.

I invent simple the way, how create and using swap file, just see
following sh code:

swapfile=$(losetup -f) #free loop device
truncate -s 8G /swap   #create 8G sparse swap file
losetup $swapfile /swap #mount file to loop
mkswap  $swapfile
swapon  $swapfile

i just adding this to rc.local and this work good.
May be, add it to btrfs Wiki as temporary solution to using swap file?

Timofey

2013/10/21 Тимофей Титовец <nefelim4ag@gmail.com>:
> Hello list, i know what btrfs  don't support swap files.
> I read arch wiki and when i reading about systemd addon for auto
> create swapfile on btrfs, i invent the way, how create and using swap
> file, just see following sh code:
>
> swapfile=$(losetup -f) #free loop device
> truncate -s 8G /swap   #create 8G sparse swap file
> losetup $swapfile /swap #mount file to loop
> mkswap  $swapfile
> swapon  $swapfile
>
> i just adding this to rc.local and this just work.
> May be, add it to Wiki as temporary solution to using swap file?
> (sorry for my bad english)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: swapfile on btrfs, temporary solution for wiki
  2013-10-24 20:52 ` Timofey Titovets
@ 2013-10-25  9:36   ` dima
  2013-10-25 10:35   ` Roman Mamedov
  2013-10-30 15:54   ` David Sterba
  2 siblings, 0 replies; 12+ messages in thread
From: dima @ 2013-10-25  9:36 UTC (permalink / raw)
  To: linux-btrfs

On 10/25/2013 05:52 AM, Timofey Titovets wrote:
> Hello, i suggest temporary solution to use swap file under btrfs.
> I test it, and it work good.
>
> I invent simple the way, how create and using swap file, just see
> following sh code:
>
> swapfile=$(losetup -f) #free loop device
> truncate -s 8G /swap   #create 8G sparse swap file
> losetup $swapfile /swap #mount file to loop
> mkswap  $swapfile
> swapon  $swapfile
>
> i just adding this to rc.local and this work good.
> May be, add it to btrfs Wiki as temporary solution to using swap file?
>
> Timofey

Hi,
Yes, Timofey, it does work. I tested the same over a year ago. And it 
does say briefly about this option in wiki

https://btrfs.wiki.kernel.org/index.php/FAQ#Does_btrfs_support_swap_files.3F
"A workaround, albeit with poor performance, is to mount a swap file via 
a loop device."

best

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: swapfile on btrfs, temporary solution for wiki
  2013-10-24 20:52 ` Timofey Titovets
  2013-10-25  9:36   ` dima
@ 2013-10-25 10:35   ` Roman Mamedov
  2013-10-25 10:44     ` Hugo Mills
  2013-10-30 15:54   ` David Sterba
  2 siblings, 1 reply; 12+ messages in thread
From: Roman Mamedov @ 2013-10-25 10:35 UTC (permalink / raw)
  To: Timofey Titovets; +Cc: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 1375 bytes --]

On Thu, 24 Oct 2013 23:52:01 +0300
Timofey Titovets <nefelim4ag@gmail.com> wrote:

> Hello, i suggest temporary solution to use swap file under btrfs.
> I test it, and it work good.
> 
> I invent simple the way, how create and using swap file, just see
> following sh code:
> 
> swapfile=$(losetup -f) #free loop device
> truncate -s 8G /swap   #create 8G sparse swap file
> losetup $swapfile /swap #mount file to loop
> mkswap  $swapfile
> swapon  $swapfile
> 
> i just adding this to rc.local and this work good.
> May be, add it to btrfs Wiki as temporary solution to using swap file?

I always thought Btrfs does not allow swap files on purpose, because it is not
deadlock-proof when used in the swapping context.

Imagine you try swapping out pages to free up some memory, and in the process
Btrfs needs to allocate some memory to actually perform the write, the kernel
says "Sure, but for that we need to swap out some more pages..." You see where
that goes.

Same issue is possible with swap on other complex filesystems an example
being networked ones like NFS and SMB/CIFS.

It might work for some time (or even work 99% of time), but you still may be
endangering your system to a possibility of a lock-up, and certainly adding
that to any Wiki/FAQ/website as "the solution" might not be the best choice.

-- 
With respect,
Roman

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: swapfile on btrfs, temporary solution for wiki
  2013-10-25 10:35   ` Roman Mamedov
@ 2013-10-25 10:44     ` Hugo Mills
  2013-10-26  9:28       ` karim.allah.ahmed
  2013-10-26  9:30       ` karim.allah.ahmed
  0 siblings, 2 replies; 12+ messages in thread
From: Hugo Mills @ 2013-10-25 10:44 UTC (permalink / raw)
  To: Roman Mamedov; +Cc: Timofey Titovets, linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 2768 bytes --]

On Fri, Oct 25, 2013 at 04:35:46PM +0600, Roman Mamedov wrote:
> On Thu, 24 Oct 2013 23:52:01 +0300
> Timofey Titovets <nefelim4ag@gmail.com> wrote:
> 
> > Hello, i suggest temporary solution to use swap file under btrfs.
> > I test it, and it work good.
> > 
> > I invent simple the way, how create and using swap file, just see
> > following sh code:
> > 
> > swapfile=$(losetup -f) #free loop device
> > truncate -s 8G /swap   #create 8G sparse swap file
> > losetup $swapfile /swap #mount file to loop
> > mkswap  $swapfile
> > swapon  $swapfile
> > 
> > i just adding this to rc.local and this work good.
> > May be, add it to btrfs Wiki as temporary solution to using swap file?
> 
> I always thought Btrfs does not allow swap files on purpose, because it is not
> deadlock-proof when used in the swapping context.

   It's more that the current swap interface is based on device+block
list, and if you balance a filesystem, the blocks for a file move --
but there's no way of telling the swap code to cope with that.

> Imagine you try swapping out pages to free up some memory, and in the process
> Btrfs needs to allocate some memory to actually perform the write, the kernel
> says "Sure, but for that we need to swap out some more pages..." You see where
> that goes.
> 
> Same issue is possible with swap on other complex filesystems an example
> being networked ones like NFS and SMB/CIFS.

   The network filesystems have a similar problem as btrfs -- they
don't export devices, and you don't get direct access to the low-level
blocks under the FS, so the swap code can't deal with it.

   That said, there's been a lot of work recently on getting
swap-over-NFS to work properly -- effectively giving a new interface
for the swap code that doesn't rely on direct mapping to device
blocks. That new interface gives us the minimal external
infrastructure necessary to consider doing swapfiles on btrfs.

> It might work for some time (or even work 99% of time), but you still may be
> endangering your system to a possibility of a lock-up, and certainly adding
> that to any Wiki/FAQ/website as "the solution" might not be the best choice.

   The deadlock situation is dealt with by adding a flag to the memory
allocator in the swap-critical paths, which says you're not allowed to
swap anything when you make the allocation. That at least allows the
memory allocation to fail (hopefully gracefully) without deadlocking.
I suspect that this is also part of the swap-on-NFS work -- adding
that flag everywhere necessary.

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
       --- He's playing Schubert.  I think Schubert is losing. ---       

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: swapfile on btrfs, temporary solution for wiki
  2013-10-25 10:44     ` Hugo Mills
@ 2013-10-26  9:28       ` karim.allah.ahmed
  2013-10-26  9:30       ` karim.allah.ahmed
  1 sibling, 0 replies; 12+ messages in thread
From: karim.allah.ahmed @ 2013-10-26  9:28 UTC (permalink / raw)
  To: Hugo Mills, Roman Mamedov, Timofey Titovets, linux-btrfs

Is the NFS over network code upstream ?

On 10/25/13, Hugo Mills <hugo@carfax.org.uk> wrote:
> On Fri, Oct 25, 2013 at 04:35:46PM +0600, Roman Mamedov wrote:
>> On Thu, 24 Oct 2013 23:52:01 +0300
>> Timofey Titovets <nefelim4ag@gmail.com> wrote:
>>
>> > Hello, i suggest temporary solution to use swap file under btrfs.
>> > I test it, and it work good.
>> >
>> > I invent simple the way, how create and using swap file, just see
>> > following sh code:
>> >
>> > swapfile=$(losetup -f) #free loop device
>> > truncate -s 8G /swap   #create 8G sparse swap file
>> > losetup $swapfile /swap #mount file to loop
>> > mkswap  $swapfile
>> > swapon  $swapfile
>> >
>> > i just adding this to rc.local and this work good.
>> > May be, add it to btrfs Wiki as temporary solution to using swap file?
>>
>> I always thought Btrfs does not allow swap files on purpose, because it is
>> not
>> deadlock-proof when used in the swapping context.
>
>    It's more that the current swap interface is based on device+block
> list, and if you balance a filesystem, the blocks for a file move --
> but there's no way of telling the swap code to cope with that.
>
>> Imagine you try swapping out pages to free up some memory, and in the
>> process
>> Btrfs needs to allocate some memory to actually perform the write, the
>> kernel
>> says "Sure, but for that we need to swap out some more pages..." You see
>> where
>> that goes.
>>
>> Same issue is possible with swap on other complex filesystems an example
>> being networked ones like NFS and SMB/CIFS.
>
>    The network filesystems have a similar problem as btrfs -- they
> don't export devices, and you don't get direct access to the low-level
> blocks under the FS, so the swap code can't deal with it.
>
>    That said, there's been a lot of work recently on getting
> swap-over-NFS to work properly -- effectively giving a new interface
> for the swap code that doesn't rely on direct mapping to device
> blocks. That new interface gives us the minimal external
> infrastructure necessary to consider doing swapfiles on btrfs.
>
>> It might work for some time (or even work 99% of time), but you still may
>> be
>> endangering your system to a possibility of a lock-up, and certainly
>> adding
>> that to any Wiki/FAQ/website as "the solution" might not be the best
>> choice.
>
>    The deadlock situation is dealt with by adding a flag to the memory
> allocator in the swap-critical paths, which says you're not allowed to
> swap anything when you make the allocation. That at least allows the
> memory allocation to fail (hopefully gracefully) without deadlocking.
> I suspect that this is also part of the swap-on-NFS work -- adding
> that flag everywhere necessary.
>
>    Hugo.
>
> --
> === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
>   PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
>        --- He's playing Schubert.  I think Schubert is losing. ---
>


-- 
Karim Allah Ahmed.
LinkedIn <http://eg.linkedin.com/pub/karim-allah-ahmed/13/829/550/>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: swapfile on btrfs, temporary solution for wiki
  2013-10-25 10:44     ` Hugo Mills
  2013-10-26  9:28       ` karim.allah.ahmed
@ 2013-10-26  9:30       ` karim.allah.ahmed
  2013-10-26 11:50         ` Hugo Mills
  2013-10-26 14:11         ` Duncan
  1 sibling, 2 replies; 12+ messages in thread
From: karim.allah.ahmed @ 2013-10-26  9:30 UTC (permalink / raw)
  To: Hugo Mills, Roman Mamedov, Timofey Titovets, linux-btrfs

Is the swap over NFS code upstream ?

On 10/25/13, Hugo Mills <hugo@carfax.org.uk> wrote:
> On Fri, Oct 25, 2013 at 04:35:46PM +0600, Roman Mamedov wrote:
>> On Thu, 24 Oct 2013 23:52:01 +0300
>> Timofey Titovets <nefelim4ag@gmail.com> wrote:
>>
>> > Hello, i suggest temporary solution to use swap file under btrfs.
>> > I test it, and it work good.
>> >
>> > I invent simple the way, how create and using swap file, just see
>> > following sh code:
>> >
>> > swapfile=$(losetup -f) #free loop device
>> > truncate -s 8G /swap   #create 8G sparse swap file
>> > losetup $swapfile /swap #mount file to loop
>> > mkswap  $swapfile
>> > swapon  $swapfile
>> >
>> > i just adding this to rc.local and this work good.
>> > May be, add it to btrfs Wiki as temporary solution to using swap file?
>>
>> I always thought Btrfs does not allow swap files on purpose, because it is
>> not
>> deadlock-proof when used in the swapping context.
>
>    It's more that the current swap interface is based on device+block
> list, and if you balance a filesystem, the blocks for a file move --
> but there's no way of telling the swap code to cope with that.
>
>> Imagine you try swapping out pages to free up some memory, and in the
>> process
>> Btrfs needs to allocate some memory to actually perform the write, the
>> kernel
>> says "Sure, but for that we need to swap out some more pages..." You see
>> where
>> that goes.
>>
>> Same issue is possible with swap on other complex filesystems an example
>> being networked ones like NFS and SMB/CIFS.
>
>    The network filesystems have a similar problem as btrfs -- they
> don't export devices, and you don't get direct access to the low-level
> blocks under the FS, so the swap code can't deal with it.
>
>    That said, there's been a lot of work recently on getting
> swap-over-NFS to work properly -- effectively giving a new interface
> for the swap code that doesn't rely on direct mapping to device
> blocks. That new interface gives us the minimal external
> infrastructure necessary to consider doing swapfiles on btrfs.
>
>> It might work for some time (or even work 99% of time), but you still may
>> be
>> endangering your system to a possibility of a lock-up, and certainly
>> adding
>> that to any Wiki/FAQ/website as "the solution" might not be the best
>> choice.
>
>    The deadlock situation is dealt with by adding a flag to the memory
> allocator in the swap-critical paths, which says you're not allowed to
> swap anything when you make the allocation. That at least allows the
> memory allocation to fail (hopefully gracefully) without deadlocking.
> I suspect that this is also part of the swap-on-NFS work -- adding
> that flag everywhere necessary.
>
>    Hugo.
>
> --
> === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
>   PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
>        --- He's playing Schubert.  I think Schubert is losing. ---
>


-- 
Karim Allah Ahmed.
LinkedIn <http://eg.linkedin.com/pub/karim-allah-ahmed/13/829/550/>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: swapfile on btrfs, temporary solution for wiki
  2013-10-26  9:30       ` karim.allah.ahmed
@ 2013-10-26 11:50         ` Hugo Mills
  2013-10-26 14:11         ` Duncan
  1 sibling, 0 replies; 12+ messages in thread
From: Hugo Mills @ 2013-10-26 11:50 UTC (permalink / raw)
  To: karim.allah.ahmed; +Cc: Roman Mamedov, Timofey Titovets, linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 3588 bytes --]

On Sat, Oct 26, 2013 at 10:30:18AM +0100, karim.allah.ahmed@gmail.com wrote:
> Is the swap over NFS code upstream ?

   Yes:

Symbol: NFS_SWAP [=y]
Type  : boolean
Prompt: Provide swap over NFS support
  Location:
    -> File systems
      -> Network File Systems (NETWORK_FILESYSTEMS [=y])
(2)     -> NFS client support (NFS_FS [=m])
  Defined at fs/nfs/Kconfig:89
  Depends on: NETWORK_FILESYSTEMS [=y] && NFS_FS [=m]
  Selects: SUNRPC_SWAP [=y]

   Hugo.

> On 10/25/13, Hugo Mills <hugo@carfax.org.uk> wrote:
> > On Fri, Oct 25, 2013 at 04:35:46PM +0600, Roman Mamedov wrote:
> >> On Thu, 24 Oct 2013 23:52:01 +0300
> >> Timofey Titovets <nefelim4ag@gmail.com> wrote:
> >>
> >> > Hello, i suggest temporary solution to use swap file under btrfs.
> >> > I test it, and it work good.
> >> >
> >> > I invent simple the way, how create and using swap file, just see
> >> > following sh code:
> >> >
> >> > swapfile=$(losetup -f) #free loop device
> >> > truncate -s 8G /swap   #create 8G sparse swap file
> >> > losetup $swapfile /swap #mount file to loop
> >> > mkswap  $swapfile
> >> > swapon  $swapfile
> >> >
> >> > i just adding this to rc.local and this work good.
> >> > May be, add it to btrfs Wiki as temporary solution to using swap file?
> >>
> >> I always thought Btrfs does not allow swap files on purpose, because it is
> >> not
> >> deadlock-proof when used in the swapping context.
> >
> >    It's more that the current swap interface is based on device+block
> > list, and if you balance a filesystem, the blocks for a file move --
> > but there's no way of telling the swap code to cope with that.
> >
> >> Imagine you try swapping out pages to free up some memory, and in the
> >> process
> >> Btrfs needs to allocate some memory to actually perform the write, the
> >> kernel
> >> says "Sure, but for that we need to swap out some more pages..." You see
> >> where
> >> that goes.
> >>
> >> Same issue is possible with swap on other complex filesystems an example
> >> being networked ones like NFS and SMB/CIFS.
> >
> >    The network filesystems have a similar problem as btrfs -- they
> > don't export devices, and you don't get direct access to the low-level
> > blocks under the FS, so the swap code can't deal with it.
> >
> >    That said, there's been a lot of work recently on getting
> > swap-over-NFS to work properly -- effectively giving a new interface
> > for the swap code that doesn't rely on direct mapping to device
> > blocks. That new interface gives us the minimal external
> > infrastructure necessary to consider doing swapfiles on btrfs.
> >
> >> It might work for some time (or even work 99% of time), but you still may
> >> be
> >> endangering your system to a possibility of a lock-up, and certainly
> >> adding
> >> that to any Wiki/FAQ/website as "the solution" might not be the best
> >> choice.
> >
> >    The deadlock situation is dealt with by adding a flag to the memory
> > allocator in the swap-critical paths, which says you're not allowed to
> > swap anything when you make the allocation. That at least allows the
> > memory allocation to fail (hopefully gracefully) without deadlocking.
> > I suspect that this is also part of the swap-on-NFS work -- adding
> > that flag everywhere necessary.
> >
> >    Hugo.
> >

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
                   --- ©1973 Unclear Research Ltd ---                   

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: swapfile on btrfs, temporary solution for wiki
  2013-10-26  9:30       ` karim.allah.ahmed
  2013-10-26 11:50         ` Hugo Mills
@ 2013-10-26 14:11         ` Duncan
  1 sibling, 0 replies; 12+ messages in thread
From: Duncan @ 2013-10-26 14:11 UTC (permalink / raw)
  To: linux-btrfs

karim.allah.ahmed@gmail.com posted on Sat, 26 Oct 2013 10:30:18 +0100 as
excerpted:

> Is the swap over NFS code upstream ?

?esrever ni txet referp uoy od ;tsop-pot t'nod esaelP

(Please don't top-post; do you prefer text in reverse?)

Quote the context you need so your question makes sense and reply below 
it, and you're more likely to get useful answers as it'll be less work to 
reply properly.  Here's how it should have looked, now quoted another 
level for my reply:

>> That said, there's been a lot of work recently on getting
>> swap-over-NFS to work properly -- effectively giving a new interface
>> for the swap code that doesn't rely on direct mapping to device
>> blocks. That new interface gives us the minimal external
>> infrastructure necessary to consider doing swapfiles on btrfs.
>>
> Is the swap over NFS code upstream ?

The answer is yes, I've definitely seen commit comments about swap over 
NFS on recent commits, so the work is indeed going in, tho it may well 
still be a WIP.

(I don't use NFS here and in fact with 8-16 gigs RAM common these days, I 
don't use swap so much any more either and often don't even have the 
kernel swap option on for my current configs unless I'm using it for 
suspend-to-disk, so I've not followed the issue closely enough to know 
current in-kernel status, but based on the commits I've happened across, 
yes, the work is certainly going in, if the feature isn't already there 
and working in general and they're simply tweaking it now.)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: swapfile on btrfs, temporary solution for wiki
  2013-10-24 20:52 ` Timofey Titovets
  2013-10-25  9:36   ` dima
  2013-10-25 10:35   ` Roman Mamedov
@ 2013-10-30 15:54   ` David Sterba
  2013-10-30 20:11     ` Timofey Titovets
  2 siblings, 1 reply; 12+ messages in thread
From: David Sterba @ 2013-10-30 15:54 UTC (permalink / raw)
  To: Timofey Titovets; +Cc: linux-btrfs

On Thu, Oct 24, 2013 at 11:52:01PM +0300, Timofey Titovets wrote:
> Hello, i suggest temporary solution to use swap file under btrfs.
> I test it, and it work good.
> 
> I invent simple the way, how create and using swap file, just see
> following sh code:
> 
> swapfile=$(losetup -f) #free loop device
> truncate -s 8G /swap   #create 8G sparse swap file

I'd suggest to do full dd on that file and make it NOCOW first. That way
it should minimize attempts to actually allocate the file blocks at the
time they're needed for swap out.

Also a bit of stress testing that this actually works is needed.

> losetup $swapfile /swap #mount file to loop
> mkswap  $swapfile
> swapon  $swapfile


david

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: swapfile on btrfs, temporary solution for wiki
  2013-10-30 15:54   ` David Sterba
@ 2013-10-30 20:11     ` Timofey Titovets
  2013-10-30 20:12       ` Timofey Titovets
  0 siblings, 1 reply; 12+ messages in thread
From: Timofey Titovets @ 2013-10-30 20:11 UTC (permalink / raw)
  To: Timofey Titovets, linux-btrfs

> I'd suggest to do full dd on that file and make it NOCOW first. That way
> it should minimize attempts to actually allocate the file blocks at the
> time they're needed for swap out.
I think this is good idea for HDD, on SSD this no make sence.

> https://btrfs.wiki.kernel.org/index.php/FAQ#Does_btrfs_support_swap_files.3F
> "A workaround, albeit with poor performance, is to mount a swap file via a loop device."
I did not pay attention to it, i think this is enough.
If nobody no want say addition comments, this thread can be closed.
Thanks to all, how answer.

With best regards,
Timofey

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: swapfile on btrfs, temporary solution for wiki
  2013-10-30 20:11     ` Timofey Titovets
@ 2013-10-30 20:12       ` Timofey Titovets
  0 siblings, 0 replies; 12+ messages in thread
From: Timofey Titovets @ 2013-10-30 20:12 UTC (permalink / raw)
  To: Timofey Titovets, linux-btrfs

Thanks to all, who* answer.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-10-30 20:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-21 20:37 swapfile on btrfs, temporary solution for wiki Тимофей Титовец
2013-10-24 20:52 ` Timofey Titovets
2013-10-25  9:36   ` dima
2013-10-25 10:35   ` Roman Mamedov
2013-10-25 10:44     ` Hugo Mills
2013-10-26  9:28       ` karim.allah.ahmed
2013-10-26  9:30       ` karim.allah.ahmed
2013-10-26 11:50         ` Hugo Mills
2013-10-26 14:11         ` Duncan
2013-10-30 15:54   ` David Sterba
2013-10-30 20:11     ` Timofey Titovets
2013-10-30 20:12       ` Timofey Titovets

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.