Linux RAID subsystem development
 help / color / mirror / Atom feed
From: "bmoon" <bo@anthologysolutions.com>
To: linux-raid@vger.kernel.org
Subject: 4k issue on MD device block size
Date: Thu, 15 May 2003 19:31:02 -0700	[thread overview]
Message-ID: <009001c31b53$32b36900$6901a8c0@bmoon> (raw)
In-Reply-To: 3EC3A1D9.5010201@cc.kuleuven.ac.be

Hello,

Please provide me an advice on  the following issues;

I'd like to use 4k block size for both MD super block I/O and regular file
I/O,
which will improve the performance.

Q1: I noticed that it set the "blksize_size" to 4k for MD SB I/O but it use
1K
       for the regular file I/O.  It usually set the size to 1k at system
init by "md-init",
       then it set to 4k for MD SB I/O later. I could not find the place
that set it
      back to 1k.   However, it changes to 1 k????  How?

Q2: I modified md.c to use the 4k blksize_size. It works but sometimes it
crash.
      System "BLOCK_SIZE" is still 1k, and my hd device blksize_size=1k,
too.
      I changed ONLY 1024 to 4096 on every occurences on md.c.

     What am I missing?

Thanks in advance,

Bo



      reply	other threads:[~2003-05-16  2:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-15 10:13 mdadm.conf questions Herta Van den Eynde
     [not found] ` <16067.28056.186816.649850@notabene.cse.unsw.edu.au>
2003-05-15 14:19   ` Herta Van den Eynde
2003-05-16  2:31     ` bmoon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='009001c31b53$32b36900$6901a8c0@bmoon' \
    --to=bo@anthologysolutions.com \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox