All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: FUJITA Tomonori <tomof@acm.org>
Cc: linux-scsi@vger.kernel.org, James.Bottomley@SteelEye.com,
	fujita.tomonori@lab.ntt.co.jp
Subject: Re: [PATCH 1/2] revert sg segment size ifdefs
Date: Mon, 3 Sep 2007 12:30:24 +0200	[thread overview]
Message-ID: <20070903103024.GO4253@kernel.dk> (raw)
In-Reply-To: <20070903103501F.tomof@acm.org>

On Mon, Sep 03 2007, FUJITA Tomonori wrote:
> The patchset is against Jens' sg chaining branch.
> 
> Jens removed old SCSI_MAX_PHYS_SEGMENTS hack and the maximum is always
> 128:
> 
> http://git.kernel.org/?p=linux/kernel/git/axboe/linux-2.6-block.git;a=commit;h=d6beb57f48231f5c012fb7d55b369bc0af6b0c41
> 
> I talked to James at linuxconf.eu and he likes to provide a way to
> reduce sgpool memory consumption because with libata everyone
> (including small machines) uses the mid layer.
> 
> This patch reverts sg segment size ifdefs that the current mid layer
> has. Later we might do something better like relating
> SCSI_MAX_SG_SEGMENTS with other config options like CONFIG_EMBEDDED or
> just having SCSI_MAX_SG_SEGMENTS in menuconfig.
> 
> Now we have sg chaining code in -mm. As discussed before, it would be
> nice to test sg chaining code in -mm with a small SCSI_MAX_SG_SEGMENTS
> value like 32.

I'd rather avoid this, but it's not a big deal. I'll add it.

-- 
Jens Axboe


      reply	other threads:[~2007-09-03 10:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-03  9:40 [PATCH 1/2] revert sg segment size ifdefs FUJITA Tomonori
2007-09-03 10:30 ` Jens Axboe [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=20070903103024.GO4253@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=James.Bottomley@SteelEye.com \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=linux-scsi@vger.kernel.org \
    --cc=tomof@acm.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 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.