Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2006 11:20:57 +0530
From:      "Kamal R. Prasad" <kamalp@acm.org>
To:        "Andriy Gapon" <avg@icyb.net.ua>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: vop_stratgey name
Message-ID:  <ac7deb50607042250m4408d124w830436ee953c4f63@mail.gmail.com>
In-Reply-To: <44AA7607.2060302@icyb.net.ua>
References:  <44AA7607.2060302@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
The block device has a head which is positioned at (platter, cylinder,
sector) etc. before a write or read can be done. The strategy function
chooses the order in which blocks are to be accessed so as to minimize the
positioning required i.e. if  we schedule closely located blocks of data for
access -no matter when the request came in, that will speed up disk I/O.
 (In addition to this, the VM also does some strategizing of blocks to be
read/written before passing them to the block driver.).

regards
-kamal

On 7/4/06, Andriy Gapon <avg@icyb.net.ua> wrote:
>
>
> Maybe this question rather belongs to -questions (or -ancient-history),
> but I thought I'd get a better chance here.
>
> I wonder why vop_strategy is named that, what meaning of "strategy" is
> used here ?
> I mean this is a read-or-write function for block devices, why
> "strategy" :-)
>
> --
> Andriy Gapon
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ac7deb50607042250m4408d124w830436ee953c4f63>