All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Johannes Schild" <JSchild@gmx.de>
To: "Peng, Tao" <tao.peng@emc.com>, rees@umich.edu
Cc: linux-nfs@vger.kernel.org
Subject: Re: RE: Blocklayout
Date: Thu, 09 Aug 2012 17:27:44 +0200	[thread overview]
Message-ID: <20120809152744.149360@gmx.net> (raw)
In-Reply-To: <5DFC6BE3BA248842867E85C73BF94B050B17B698CF@MX41A.corp.emc.com>


-------- Original-Nachricht --------
> Datum: Thu, 9 Aug 2012 04:56:07 -0400
> Von: "Peng, Tao" <tao.peng@emc.com>
> An: Johannes Schild <JSchild@gmx.de>, "rees@umich.edu" <rees@umich.edu>
> CC: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
> Betreff: RE: Blocklayout

> 
> > -----Original Message-----
> > From: linux-nfs-owner@vger.kernel.org
> [mailto:linux-nfs-owner@vger.kernel.org] On Behalf Of Johannes
> > Schild
> > Sent: Thursday, August 09, 2012 4:43 PM
> > To: Johannes Schild; rees@umich.edu
> > Cc: linux-nfs@vger.kernel.org
> > Subject: Re: Blocklayout
> > 
> > Hi Guys,
> > 
> > some additional Information,
> > 
> > [ 1644.874549] FS-Cache: Loaded
> > [ 1644.895122] NFS: Registering the id_resolver key type
> > [ 1644.895158] FS-Cache: Netfs 'nfs' registered for caching
> > [ 1644.920204] blkmapd: sending ioctl 2285 to a partition!
> > [ 1644.920207] blkmapd: sending ioctl 2285 to a partition!
> > [ 1644.920208] blkmapd: sending ioctl 2285 to a partition!
> > [ 1644.920263] blkmapd: sending ioctl 2285 to a partition!
> > [ 1644.920264] blkmapd: sending ioctl 2285 to a partition!
> > [ 1644.920265] blkmapd: sending ioctl 2285 to a partition!
> > [ 1653.129460] blkmapd: sending ioctl 2285 to a partition!
> > [ 1653.129463] blkmapd: sending ioctl 2285 to a partition!
> > [ 1653.129464] blkmapd: sending ioctl 2285 to a partition!
> > [ 1653.129528] blkmapd: sending ioctl 2285 to a partition!
> > [ 1653.129530] blkmapd: sending ioctl 2285 to a partition!
> > [ 1653.129531] blkmapd: sending ioctl 2285 to a partition!
> > [ 1653.136682] NFS: set_pnfs_layoutdriver: Error initializing pNFS
> layout driver 3.
> > 
> > someone any ideas whats going wrong? The above output is from dmesg.
> > Iam using 3.4.7-1.fc16.x86_64 Kernel from Fedora. The utils are from
> > http://steved.fedorapeople.org/repos/pnfs.
> > 
> There is a regression about saving proper pnfs_blksize before setting
> block layout driver by commit e38eb650 (NFS: set_pnfs_layoutdriver() from
> nfs4_proc_fsinfo()).
> If your client includes the specific commit (although I don't think the
> commit is in 3.4 kernel), please retry after applying the fix at
> http://www.spinics.net/lists/linux-nfs/msg31868.html	

The patch doesn't fit my kernel. My cliet.c looks a little bit different from the client.c in the patch:

if (server->wsize > NFS_MAX_FILE_IO_SIZE)
                server->wsize = NFS_MAX_FILE_IO_SIZE;
        server->wpages = (server->wsize + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT;
        server->pnfs_blksize = fsinfo->blksize;
        set_pnfs_layoutdriver(server, mntfh, fsinfo->layouttype);

        server->wtmult = nfs_block_bits(fsinfo->wtmult, NULL);

The same thing on nfs4proc.c:
{
        nfs_fattr_init(fsinfo->fattr);
        return nfs4_do_fsinfo(server, fhandle, fsinfo);
}

there is no error routine or if-statement like in the patch.
that was a different kernel i tried, kernel-3.3.0-0.rc2.git1.1.pnfsd.fc17.src.rpm from http://steved.fedorapeople.org/repos/pnfs




> If you still see same error, please enable client debug by
> echo 65535 > /proc/sys/sunrpc/nfs_debug
> 

Thats the complete output from dmesg after mounting and try to create a file (i think thats only nfsv4):

[    4.026472] iscsi: registered transport (bnx2i)
[    4.029122] iscsi: registered transport (be2iscsi)
[   81.340654] pcnet32 0000:02:05.0: eth1: link up
[   92.600159] eth1: no IPv6 routers present
[  107.568142] scsi3 : iSCSI Initiator over TCP/IP
[  107.831688] scsi 3:0:0:0: RAID              IET      Controller       0001 PQ: 0 ANSI: 5
[  107.833425] scsi 3:0:0:0: Attached scsi generic sg4 type 12
[  107.836869] scsi 3:0:0:1: Direct-Access     IET      VIRTUAL-DISK     0001 PQ: 0 ANSI: 5
[  107.837494] sd 3:0:0:1: Attached scsi generic sg5 type 0
[  107.838664] sd 3:0:0:1: [sdd] 4196352 512-byte logical blocks: (2.14 GB/2.00 GiB)
[  107.838750] scsi 3:0:0:2: Direct-Access     IET      VIRTUAL-DISK     0001 PQ: 0 ANSI: 5
[  107.838843] sd 3:0:0:2: Attached scsi generic sg6 type 0
[  107.843793] sd 3:0:0:1: [sdd] Write Protect is off
[  107.843796] sd 3:0:0:1: [sdd] Mode Sense: 49 00 00 08
[  107.844193] sd 3:0:0:2: [sde] 4196352 512-byte logical blocks: (2.14 GB/2.00 GiB)
[  107.844814] sd 3:0:0:1: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  107.845943] sd 3:0:0:2: [sde] Write Protect is off
[  107.845945] sd 3:0:0:2: [sde] Mode Sense: 49 00 00 08
[  107.846699] sd 3:0:0:2: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  107.856535]  sdd: sdd1
[  107.859230]  sde: sde1
[  107.859941] sd 3:0:0:1: [sdd] Attached SCSI disk
[  107.861468] sd 3:0:0:2: [sde] Attached SCSI disk
[  179.557893] FS-Cache: Loaded
[  179.563310] NFS: Registering the id_resolver key type
[  179.563339] FS-Cache: Netfs 'nfs' registered for caching
[  207.222318] NFS: set_pnfs_layoutdriver: Error initializing pNFS layout driver 3.


> And redo mount and send the log.
> 
> Thanks,
> Tao
> 

Thanks

Johannes

  reply	other threads:[~2012-08-09 15:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-08 15:58 Blocklayout Johannes Schild
2012-08-08 16:39 ` Blocklayout Jim Rees
2012-08-08 18:26   ` Blocklayout Johannes Schild
2012-08-09  8:42     ` Blocklayout Johannes Schild
2012-08-09  8:56       ` Blocklayout Peng, Tao
2012-08-09 15:27         ` Johannes Schild [this message]
2012-08-09 17:12           ` Blocklayout Peng Tao
2012-08-10  7:48             ` Johannes Schild
2012-08-10  8:29               ` Peng Tao
2012-08-10  9:20                 ` Johannes Schild
2012-08-10  9:51                   ` Peng Tao
2012-08-10 12:06                     ` Johannes Schild
2012-08-10 12:18                       ` Jim Rees
2012-08-10 13:00                         ` Johannes Schild
2012-08-13 19:50                           ` Johannes Schild
2012-08-14 14:09                             ` Peng Tao

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=20120809152744.149360@gmx.net \
    --to=jschild@gmx.de \
    --cc=linux-nfs@vger.kernel.org \
    --cc=rees@umich.edu \
    --cc=tao.peng@emc.com \
    /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.