From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9BF73138247 for ; Thu, 19 Dec 2013 14:13:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85513E0AA9; Thu, 19 Dec 2013 14:13:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F31B7E0AA9 for ; Thu, 19 Dec 2013 14:13:42 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BF73A33F195 for ; Thu, 19 Dec 2013 14:13:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 6E940110314 for ; Thu, 19 Dec 2013 14:13:39 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1387462385.7ad4a450a83ea8c9d41ec04b625dc97859cbb2ff.alexxy@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/lustre/, sys-cluster/lustre/files/ X-VCS-Repository: proj/sci X-VCS-Files: sys-cluster/lustre/ChangeLog sys-cluster/lustre/files/0016-LU-3319-procfs-move-mdt-mds-proc-handling-to-seq_fil.patch sys-cluster/lustre/files/0017-LU-3319-procfs-move-mdd-proc-handling-to-seq_files.patch sys-cluster/lustre/files/0018-LU-3319-procfs-update-ldiskfs-proc-handling-to-seq_f.patch X-VCS-Directories: sys-cluster/lustre/ sys-cluster/lustre/files/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: 7ad4a450a83ea8c9d41ec04b625dc97859cbb2ff X-VCS-Branch: master Date: Thu, 19 Dec 2013 14:13:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 93bed296-c3d8-44c2-9eb2-beed2a20f700 X-Archives-Hash: 0fc949556852eecaa80f070caba98f73 commit: 7ad4a450a83ea8c9d41ec04b625dc97859cbb2ff Author: Alexey Shvetsov gentoo org> AuthorDate: Thu Dec 19 14:13:05 2013 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Thu Dec 19 14:13:05 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7ad4a450 More... More.. Go^W patches Package-Manager: portage-2.2.7 RepoMan-Options: --force --- sys-cluster/lustre/ChangeLog | 6 ++++++ ...rocfs-move-mdt-mds-proc-handling-to-seq_fil.patch | 20 +++++--------------- ...-procfs-move-mdd-proc-handling-to-seq_files.patch | 2 +- ...rocfs-update-ldiskfs-proc-handling-to-seq_f.patch | 2 +- 4 files changed, 13 insertions(+), 17 deletions(-) diff --git a/sys-cluster/lustre/ChangeLog b/sys-cluster/lustre/ChangeLog index 1a47118..e2a6f7f 100644 --- a/sys-cluster/lustre/ChangeLog +++ b/sys-cluster/lustre/ChangeLog @@ -3,6 +3,12 @@ # $Header: $ 19 Dec 2013; Alexey Shvetsov + files/0016-LU-3319-procfs-move-mdt-mds-proc-handling-to-seq_fil.patch, + files/0017-LU-3319-procfs-move-mdd-proc-handling-to-seq_files.patch, + files/0018-LU-3319-procfs-update-ldiskfs-proc-handling-to-seq_f.patch: + More... More.. Go^W patches + + 19 Dec 2013; Alexey Shvetsov +files/0010-LU-3319-procfs-update-shared-server-side-core-proc-h.patch, +files/0011-LU-3319-procfs-update-zfs-proc-handling-to-seq_files.patch, +files/0012-LU-3319-procfs-move-mgs-proc-handling-to-seq_files.patch, diff --git a/sys-cluster/lustre/files/0016-LU-3319-procfs-move-mdt-mds-proc-handling-to-seq_fil.patch b/sys-cluster/lustre/files/0016-LU-3319-procfs-move-mdt-mds-proc-handling-to-seq_fil.patch index d1ebc8c..8900d6c 100644 --- a/sys-cluster/lustre/files/0016-LU-3319-procfs-move-mdt-mds-proc-handling-to-seq_fil.patch +++ b/sys-cluster/lustre/files/0016-LU-3319-procfs-move-mdt-mds-proc-handling-to-seq_fil.patch @@ -1,4 +1,4 @@ -From 6bc2e0318f464ba5b946c97031e63dc354bfc87e Mon Sep 17 00:00:00 2001 +From 1d427d5090964e00cda5f3f1318cb84ec0376752 Mon Sep 17 00:00:00 2001 From: James Simmons Date: Mon, 2 Dec 2013 12:36:06 -0500 Subject: [PATCH 16/18] LU-3319 procfs: move mdt/mds proc handling to seq_files @@ -9,16 +9,17 @@ layer proc entries over to using seq_files. Signed-off-by: James Simmons Change-Id: Icbafdcd2c2fe3959a51dda3f9c715b0ff8d95742 +Signed-off-by: Alexey Shvetsov --- lustre/mdt/mdt_coordinator.c | 246 +++++++--------- lustre/mdt/mdt_handler.c | 16 +- - lustre/mdt/mdt_hsm_cdt_actions.c | 7 +- + lustre/mdt/mdt_hsm_cdt_actions.c | 3 - lustre/mdt/mdt_hsm_cdt_agent.c | 5 +- lustre/mdt/mdt_hsm_cdt_requests.c | 5 +- lustre/mdt/mdt_internal.h | 14 +- lustre/mdt/mdt_lproc.c | 603 ++++++++++++++++++-------------------- lustre/mdt/mdt_mds.c | 12 +- - 8 files changed, 402 insertions(+), 506 deletions(-) + 8 files changed, 400 insertions(+), 504 deletions(-) diff --git a/lustre/mdt/mdt_coordinator.c b/lustre/mdt/mdt_coordinator.c index 3915e21..eb05bdf 100644 @@ -500,7 +501,7 @@ index 8daf7e1..9f7d4ba 100644 LUSTRE_MDT_NAME, &mdt_device_type); if (rc) diff --git a/lustre/mdt/mdt_hsm_cdt_actions.c b/lustre/mdt/mdt_hsm_cdt_actions.c -index da7f5a9..c4c5bbf 100644 +index da7f5a9..3d88141 100644 --- a/lustre/mdt/mdt_hsm_cdt_actions.c +++ b/lustre/mdt/mdt_hsm_cdt_actions.c @@ -513,9 +513,6 @@ static int lprocfs_open_hsm_actions(struct inode *inode, struct file *file) @@ -513,17 +514,6 @@ index da7f5a9..c4c5bbf 100644 rc = seq_open(file, &mdt_hsm_actions_proc_ops); if (rc) RETURN(rc); -@@ -532,8 +529,8 @@ static int lprocfs_open_hsm_actions(struct inode *inode, struct file *file) - /* mdt is saved in proc_dir_entry->data by - * mdt_coordinator_procfs_init() calling lprocfs_register() - */ -- mdt = (struct mdt_device *)PDE(inode)->data; -- aai->aai_mdt = mdt; -+ mdt = (struct mdt_device *)PDE_DATA(inode); -+ aai->aai_obd = mdt2obd_dev(mdt); - s = file->private_data; - s->private = aai; - diff --git a/lustre/mdt/mdt_hsm_cdt_agent.c b/lustre/mdt/mdt_hsm_cdt_agent.c index 9a9ce6d..158cced 100644 --- a/lustre/mdt/mdt_hsm_cdt_agent.c diff --git a/sys-cluster/lustre/files/0017-LU-3319-procfs-move-mdd-proc-handling-to-seq_files.patch b/sys-cluster/lustre/files/0017-LU-3319-procfs-move-mdd-proc-handling-to-seq_files.patch index 0d10047..7f8ae67 100644 --- a/sys-cluster/lustre/files/0017-LU-3319-procfs-move-mdd-proc-handling-to-seq_files.patch +++ b/sys-cluster/lustre/files/0017-LU-3319-procfs-move-mdd-proc-handling-to-seq_files.patch @@ -1,4 +1,4 @@ -From df4a9172881e4eac4f7ef511079c2f306d515bf7 Mon Sep 17 00:00:00 2001 +From f45e2a9cb1c481b8c8e91d6bdf6c5d1028ed0a47 Mon Sep 17 00:00:00 2001 From: James Simmons Date: Mon, 2 Dec 2013 12:40:35 -0500 Subject: [PATCH 17/18] LU-3319 procfs: move mdd proc handling to seq_files diff --git a/sys-cluster/lustre/files/0018-LU-3319-procfs-update-ldiskfs-proc-handling-to-seq_f.patch b/sys-cluster/lustre/files/0018-LU-3319-procfs-update-ldiskfs-proc-handling-to-seq_f.patch index 9d9976a..67c9862 100644 --- a/sys-cluster/lustre/files/0018-LU-3319-procfs-update-ldiskfs-proc-handling-to-seq_f.patch +++ b/sys-cluster/lustre/files/0018-LU-3319-procfs-update-ldiskfs-proc-handling-to-seq_f.patch @@ -1,4 +1,4 @@ -From 92589047bca132101a9106f018b2ed9ad1efdfd0 Mon Sep 17 00:00:00 2001 +From 20a49f022922cde18f4969151b7255032228f970 Mon Sep 17 00:00:00 2001 From: James Simmons Date: Thu, 14 Nov 2013 19:41:12 -0500 Subject: [PATCH 18/18] LU-3319 procfs: update ldiskfs proc handling to