Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
loop0 in iscsi-target is blockio or fileio?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
TigerJr
Guru
Guru


Joined: 19 Jun 2007
Posts: 483
Location: /dev/x0

PostPosted: Wed Dec 27, 2017 1:24 pm    Post subject: loop0 in iscsi-target is blockio or fileio? Reply with quote

Subject as a question. I don't understand loop fs mounted from file is it block device or not?
_________________

Do not update portage without hotdog!

Xenogentooway?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42569
Location: 56N 3W

PostPosted: Wed Dec 27, 2017 2:07 pm    Post subject: Reply with quote

TigerJr,

Its a block device in a file, so its one layered over the other.

Consider that the file may be fragmented on the HDD.
The filesystem hides the fragments from the block driver so that the file appears as a contiguous sequence of blocks to the loop device.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
TigerJr
Guru
Guru


Joined: 19 Jun 2007
Posts: 483
Location: /dev/x0

PostPosted: Wed Dec 27, 2017 2:20 pm    Post subject: Reply with quote

to NeddySeagoon

thanks for detailed answer, it makes good understanding of filesystem layers

Quote:
Consider that the file may be fragmented on the HDD.


That filesystem lies on hardware raid layer, so im not consider that. It's raid problem)

In that topology i have botleneck in filesystem fileio those sync caches from loop driver in that large file....
_________________

Do not update portage without hotdog!

Xenogentooway?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum