On Wed, Apr 14, 2021 at 9:20 PM Miklos Szeredi wrote:
>
> On Wed, Apr 14, 2021 at 2:22 PM Peng Tao wrote:
> >
>
> > > --- a/fs/fuse/file.c
> > > +++ b/fs/fuse/file.c
> > > @@ -1117,17 +1117,12 @@ static ssize_t fuse_send_write_pages(str
> > >
+0x8c/0xc8 [fuse]
> > > [1450578.907128] fuse_perform_write+0x240/0x4e0 [fuse]
> > > [1450578.912082] fuse_file_write_iter+0x1dc/0x290 [fuse]
> > > [1450578.917207] do_iter_readv_writev+0x110/0x188
> > > [1450578.921724] do_iter_write+0x90/0x1c8
> > > [1450578.9255
On Wed, Feb 17, 2021 at 9:41 PM Miklos Szeredi wrote:
>
> On Mon, Jan 25, 2021 at 4:31 PM Alessio Balsini wrote:
> >
> > Expose the FUSE_PASSTHROUGH interface to user space and declare all the
> > basic data structures and functions as the skeleton on top of which the
> > FUSE passthrough functio
On Thu, Jan 28, 2021 at 10:15 PM Alessio Balsini wrote:
>
> Hi all,
>
> I'm more than happy to change the interface into something that is
> objectively better and accepted by everyone.
> I would really love to reach the point at which we have a "stable-ish"
> UAPI as soon as possible.
>
> I've be
On Mon, Jan 25, 2021 at 11:31 PM Alessio Balsini wrote:
>
> When using FUSE passthrough, read/write operations are directly
> forwarded to the lower file system file through VFS, but there is no
> guarantee that the process that is triggering the request has the right
> permissions to access the l
On Tue, Oct 27, 2020 at 1:00 AM Alessio Balsini wrote:
>
> This is the 10th version of the series. Please find the changelog at the
> bottom of this cover letter.
>
> Add support for file system passthrough read/write of files when enabled in
> userspace through the option FUSE_PASSTHROUGH.
>
> Th
On Fri, Nov 27, 2020 at 9:41 PM Alessio Balsini wrote:
>
> Hi Peng,
>
> Thanks for the heads up!
>
> On Thu, Nov 26, 2020 at 09:33:34PM +0800, Peng Tao wrote:
> > On Tue, Oct 27, 2020 at 12:19 AM Alessio Balsini
> > wrote:
> > > [...]
> > >
On Tue, Oct 27, 2020 at 12:19 AM Alessio Balsini wrote:
>
> Implement the FUSE passthrough ioctl() that associates the lower
> (passthrough) file system file with the fuse_file.
>
> The file descriptor passed to the ioctl() by the FUSE daemon is used to
> access the relative file pointer, that wil
;James E.J. Bottomley"
CC: "Martin K. Petersen"
Signed-off-by: Peng Tao
---
drivers/scsi/scsi_scan.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c
index 6f7128f..0208f40 100644
--- a/drivers/scsi/scsi_
On Fri, Aug 8, 2014 at 1:32 PM, Greg Kroah-Hartman
wrote:
> On Fri, Aug 08, 2014 at 01:06:15AM -0400, Oleg Drokin wrote:
>>
>> On Aug 8, 2014, at 12:42 AM, Greg Kroah-Hartman wrote:
>>
>> > On Fri, Aug 08, 2014 at 12:03:20AM -0400, Oleg Drokin wrote:
>> >> Hello!
>> >>
>> >> On Aug 7, 2014, at 11:
On Wed, Mar 19, 2014 at 12:23 AM, Oleg Nesterov wrote:
> On 03/18, Peng Tao wrote:
>>
>> On Tue, Mar 18, 2014 at 10:05 PM, Peter Zijlstra
>> wrote:
>> >
>> > Unless you cannot use ___wait() and really need to open-code the
>> > wait_event() stuf
On Tue, Mar 18, 2014 at 11:47 PM, Oleg Nesterov wrote:
> On 03/18, Peter Zijlstra wrote:
>>
>> I think we can avoid the entire function if we add
>> WQ_FLAG_LIFO and make prepare_to_wait_event() DTRT.
>
> Agreed, this looks very natural.
>
> prepare_to_wait_event(WQ_FLAG_LIFO) should probably skip
On Tue, Mar 18, 2014 at 10:05 PM, Peter Zijlstra wrote:
> On Tue, Mar 18, 2014 at 09:51:04PM +0800, Peng Tao wrote:
>> > Firstly I think the _head postfix for LIFO is a bad name,
>> Do you have any preference on the name? add_wait_queue_exclusive_lifo()?
>
> I think
On Tue, Mar 18, 2014 at 9:33 PM, Peter Zijlstra wrote:
> On Tue, Mar 18, 2014 at 09:10:08PM +0800, Peng Tao wrote:
>> Normally wait_queue_t is a FIFO list for exclusive waiting tasks.
>> As a side effect, if there are many threads waiting on the same
>> condition (which is co
.
Of course there is an alternative approach to just open code it but we'd
like to ask first to see if there is objection to making it generic.
Cc: Ingo Molnar
Cc: Peter Zijlstra
Cc: Oleg Drokin
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
.../lustre/include/linux/l
Cc: Andreas Dilger
Cc: Oleg Drokin
Signed-off-by: Peng Tao
---
.../lustre/include/linux/libcfs/libcfs_prim.h |1 -
drivers/staging/lustre/lnet/lnet/router.c |4 ++--
drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c|4 ++--
drivers/staging/lustre/lustre/libcfs
Cc: Andreas Dilger
Cc: Oleg Drokin
Signed-off-by: Peng Tao
---
.../lustre/include/linux/libcfs/libcfs_prim.h |1 -
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c |2 +-
.../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c |5 ++---
drivers/staging/lustre/lnet/lnet/lib-eq.c
Cc: Andreas Dilger
Cc: Oleg Drokin
Signed-off-by: Peng Tao
---
.../lustre/include/linux/libcfs/libcfs_prim.h |1 -
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c |2 +-
drivers/staging/lustre/lnet/lnet/lib-eq.c |2 +-
drivers/staging/lustre/lustre/fid
Hi Greg,
Following patches remove wait queue related wrappers from lustre. The only thing
left is add_wait_queue_exclusive_head() that we hope to make into generic
helpers in a separate patch.
Thanks,
Tao
Cc: Andreas Dilger
Cc: Oleg Drokin
Peng Tao (5):
staging/lustre/libcfs
Cc: Andreas Dilger
Cc: Oleg Drokin
Signed-off-by: Peng Tao
---
.../lustre/include/linux/libcfs/libcfs_prim.h |5 -
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c|6 --
.../staging/lustre/lnet/klnds/socklnd/socklnd.c|6 --
.../staging/lustre/lnet/klnds
Cc: Andreas Dilger
Cc: Oleg Drokin
Signed-off-by: Peng Tao
---
.../lustre/include/linux/libcfs/libcfs_prim.h |1 -
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c |6 +++---
.../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c |4 ++--
drivers/staging/lustre/lnet/lnet/lib
Cc: Andreas Dilger
Cc: Oleg Drokin
Signed-off-by: Peng Tao
---
drivers/staging/lustre/lustre/libcfs/nidstrings.c |7 ++-
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/lustre/lustre/libcfs/nidstrings.c
b/drivers/staging/lustre/lustre/libcfs/nidstrings.c
Cc: Andreas Dilger
Cc: Oleg Drokin
Signed-off-by: Peng Tao
---
.../lustre/include/linux/libcfs/libcfs_string.h| 12
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_string.h
b/drivers/staging/lustre/include
Kernel provides isspace().
Cc: Andreas Dilger
Cc: Oleg Drokin
Signed-off-by: Peng Tao
---
.../lustre/include/linux/libcfs/libcfs_string.h| 15 ---
drivers/staging/lustre/lnet/lnet/config.c | 12 ++--
.../staging/lustre/lustre/libcfs/libcfs_string.c
The only difference against generic strncasecmp() is that
cfs_strncasecmp() check NULL pointers and zero length parameter,
which all callers have already taken care of.
Cc: Andreas Dilger
Cc: Oleg Drokin
Signed-off-by: Peng Tao
---
drivers/staging/lustre/lnet/lnet/router_proc.c |4
cfs_expr_list_print is removed due to no callers. Other internal
functions are held unexported.
Cc: Andreas Dilger
Cc: Oleg Drokin
Signed-off-by: Peng Tao
---
.../lustre/include/linux/libcfs/libcfs_string.h|3 ---
.../staging/lustre/lustre/libcfs/libcfs_string.c | 20
/klnds/o2iblnd/o2iblnd.c:597: warning:
‘kiblnd_debug_tx’
defined but not used
Cc: Andreas Dilger
Cc: Oleg Drokin
Signed-off-by: Peng Tao
---
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 68
1 files changed, 0 insertions(+), 68 deletions(-)
diff --git a/drivers
From: Fengguang Wu
drivers/staging/lustre/lustre/llite/dir.c:1416:2-8: Replace memcpy with struct
assignment
Generated by: coccinelle/misc/memcpy-assign.cocci
CC: Peng Tao
CC: Andreas Dilger
CC: Oleg Drokin
CC: Greg Kroah-Hartman
Signed-off-by: Fengguang Wu
---
drivers/staging/lustre
Cc: Andreas Dilger
Cc: Oleg Drokin
Signed-off-by: Peng Tao
---
.../lustre/include/linux/libcfs/libcfs_hash.h |2 --
.../staging/lustre/include/linux/lnet/lib-lnet.h |2 +-
drivers/staging/lustre/lnet/lnet/api-ni.c |2 +-
drivers/staging/lustre/lnet/lnet/lib-ptl.c
Cc: Andreas Dilger
Cc: Oleg Drokin
Signed-off-by: Peng Tao
---
.../lustre/lustre/libcfs/kernel_user_comm.c| 102
1 files changed, 0 insertions(+), 102 deletions(-)
diff --git a/drivers/staging/lustre/lustre/libcfs/kernel_user_comm.c
b/drivers/staging/lustre
On Sat, Jan 25, 2014 at 2:50 AM, Dilger, Andreas
wrote:
> On 2014/01/22, 6:47 AM, "Peng Tao" wrote:
>>diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-curproc.c
>>b/drivers/staging/lustre/lustre/libcfs/linux/linux-curproc.c
>>index 8b3af7f..6d0bd22
On Sat, Feb 8, 2014 at 1:43 AM, Greg Kroah-Hartman
wrote:
> On Wed, Jan 22, 2014 at 09:36:17PM +0800, Peng Tao wrote:
>> From: Artem Blagodarenko
>>
>> This is only part of the original Lustre commit, splitted to do the
>> cleanup work.
>>
>> Intel-bug-id
Cc: Andreas Dilger
Signed-off-by: Peng Tao
---
.../staging/lustre/include/linux/libcfs/curproc.h |1 -
.../lustre/lustre/libcfs/linux/linux-curproc.c |6 --
.../lustre/lustre/libcfs/linux/linux-module.c |4 ++--
drivers/staging/lustre/lustre/llite/dir.c |8
Cc: Andreas Dilger
Signed-off-by: Peng Tao
---
.../lustre/lustre/libcfs/linux/linux-curproc.c | 24
1 file changed, 10 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-curproc.c
b/drivers/staging/lustre/lustre/libcfs/linux
_LINUX_CAPABILITY_VERSION is only for backward compatibility in
user space. Kernel code doesn't care about it.
Cc: Andreas Dilger
Signed-off-by: Peng Tao
---
.../lustre/lustre/libcfs/linux/linux-curproc.c | 16
1 file changed, 16 deletions(-)
diff --git a/dr
no user.
Cc: Andreas Dilger
Signed-off-by: Peng Tao
---
.../staging/lustre/include/linux/libcfs/curproc.h |1 -
.../lustre/lustre/libcfs/linux/linux-curproc.c | 10 --
2 files changed, 11 deletions(-)
diff --git a/drivers/staging/lustre/include/linux/libcfs/curproc.h
b
no user.
Cc: Andreas Dilger
Signed-off-by: Peng Tao
---
.../staging/lustre/include/linux/libcfs/curproc.h |7 ---
.../lustre/lustre/libcfs/linux/linux-curproc.c | 11 ---
2 files changed, 18 deletions(-)
diff --git a/drivers/staging/lustre/include/linux/libcfs/curproc.h
]
Cc: Laura Abbott
Cc: Andreas Dilger
Signed-off-by: Peng Tao
---
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c
b/drivers/staging/lustre/lnet/klnds/o2iblnd
Hi Greg,
I got gmail failure after git send-email sent the first two patches.
Please drop the two and I'll resend the whole series.
Thanks,
Tao
On Wed, Jan 22, 2014 at 9:40 PM, Peng Tao wrote:
> I got this building Lustre:
> drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c:
no user.
Cc: Andreas Dilger
Signed-off-by: Peng Tao
---
.../staging/lustre/include/linux/libcfs/curproc.h |7 ---
.../lustre/lustre/libcfs/linux/linux-curproc.c | 11 ---
2 files changed, 18 deletions(-)
diff --git a/drivers/staging/lustre/include/linux/libcfs/curproc.h
]
Cc: Laura Abbott
Cc: Andreas Dilger
Signed-off-by: Peng Tao
---
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c
b/drivers/staging/lustre/lnet/klnds/o2iblnd
: JC Lafoucriere
Signed-off-by: Henri Doreau
Reviewed-by: John L. Hammond
Reviewed-by: Andreas Dilger
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
.../lustre/lustre/include/lustre/lustre_user.h |6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/staging/lustre
ug-id: https://jira.hpdd.intel.com/browse/LU-1606
Signed-off-by: Andreas Dilger
Signed-off-by: John L. Hammond
Reviewed-by: Andreas Dilger
Reviewed-by: Christopher J. Morrone
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
.../lustre/lustre/include/lustre/lustre_idl.h |
https://jira.hpdd.intel.com/browse/LU-1715
Lustre-change: http://review.whamcloud.com/3553
Signed-off-by: Andriy Skulysh
Reviewed-by: Vitaly Fertman
Reviewed-by: Bruce Korb
Reviewed-by: Keith Mannthey
Reviewed-by: Oleg Drokin
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
.../lustre/lustre/include/l
Liu
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
.../staging/lustre/lustre/obdclass/obd_config.c|4
1 file changed, 4 deletions(-)
diff --git a/drivers/staging/lustre/lustre/obdclass/obd_config.c
b/drivers/staging/lustre/lustre/obdclass/obd_config.c
index 27f56c0
eviewed-by: Andreas Dilger
Reviewed-by: Emoly Liu
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/include/lustre_cfg.h |2 +
.../staging/lustre/lustre/include/lustre_disk.h|2 +
drivers/staging/lustre/lustre/include/obd_class.h |9 +-
drive
leg Drokin
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/llite/dir.c | 23 ++-
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/lustre/lustre/llite/dir.c
b/drivers/staging/lustre/lustre/llite/d
rowse/LU-3486
Signed-off-by: Lai Siyao
Reviewed-by: James Simmons
Reviewed-by: Peng Tao
Reviewed-by: Bobi Jam
Reviewed-by: Fan Yong
Reviewed-by: Alexey Shvetsov
Reviewed-by: Oleg Drokin
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/llite/dcache.c
-off-by: Lai Siyao
Reviewed-by: James Simmons
Reviewed-by: Peng Tao
Reviewed-by: Bobi Jam
Reviewed-by: Fan Yong
Reviewed-by: Alexey Shvetsov
Reviewed-by: Oleg Drokin
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/llite/namei.c |5 +
1 file
Hi Greg,
Here are the v2 of previous series. Each patch is checkpatch'ed
and build-tested independently. Please see if it is OK to merge them.
Thanks,
Tao
Cc: Andreas Dilger
Andreas Dilger (1):
staging/lustre/idl: remove LASSERT/CLASSERT from lustre_idl.h
Andriy Skulysh (1):
staging/lustr
On Fri, Jan 17, 2014 at 1:11 AM, Trond Myklebust
wrote:
>
> On Jan 16, 2014, at 10:49, Peng Tao wrote:
>> On Tue, Jan 14, 2014 at 2:45 AM, Trond Myklebust
>> wrote:
>>> void pnfs_set_lo_fail(struct pnfs_layout_segment *lseg)
>>> @@ -1881,43 +1887,37 @@
On Tue, Jan 14, 2014 at 2:45 AM, Trond Myklebust
wrote:
> nfs4_write_inode() must not be allowed to exit until the layoutcommit
> is done. That means that both NFS_INO_LAYOUTCOMMIT and
> NFS_INO_LAYOUTCOMMITTING have to be cleared.
>
> Signed-off-by: Trond Myklebust
> ---
> fs/nfs/nfs4super.c |
rowse/LU-3486
Signed-off-by: Lai Siyao
Reviewed-by: James Simmons
Reviewed-by: Peng Tao
Reviewed-by: Bobi Jam
Reviewed-by: Fan Yong
Reviewed-by: Alexey Shvetsov
Reviewed-by: Oleg Drokin
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/llite/dcache.c
-off-by: Lai Siyao
Reviewed-by: James Simmons
Reviewed-by: Peng Tao
Reviewed-by: Bobi Jam
Reviewed-by: Fan Yong
Reviewed-by: Alexey Shvetsov
Reviewed-by: Oleg Drokin
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/llite/namei.c |5 +
1 files
Liu
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
.../staging/lustre/lustre/obdclass/obd_config.c|4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/lustre/lustre/obdclass/obd_config.c
b/drivers/staging/lustre/lustre/obdclass/obd_config.c
eviewed-by: Andreas Dilger
Reviewed-by: Emoly Liu
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/include/lustre_cfg.h |2 +
.../staging/lustre/lustre/include/lustre_disk.h|2 +
drivers/staging/lustre/lustre/include/obd_class.h |9 ++-
drive
leg Drokin
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/llite/dir.c | 23 ++-
1 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/lustre/lustre/llite/dir.c
b/drivers/staging/lustre/lustre/llite/d
: JC Lafoucriere
Signed-off-by: Henri Doreau
Reviewed-by: John L. Hammond
Reviewed-by: Andreas Dilger
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
.../lustre/lustre/include/lustre/lustre_user.h |6 --
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/drivers
https://jira.hpdd.intel.com/browse/LU-1715
Lustre-change: http://review.whamcloud.com/3553
Signed-off-by: Andriy Skulysh
Reviewed-by: Vitaly Fertman
Reviewed-by: Bruce Korb
Reviewed-by: Keith Mannthey
Reviewed-by: Oleg Drokin
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
.../lustre/lustre/include/l
Hi Greg,
Happy New Year! I hope it is long enough to start sending you new patches.
Here are the updated version of previous series. Each patch is checkpatch'ed
and build-tested independently. Please see if it is OK to merge them.
Thanks,
Tao
Cc: Andreas Dilger
Andreas Dilger (1):
staging/l
ug-id: https://jira.hpdd.intel.com/browse/LU-1606
Signed-off-by: Andreas Dilger
Signed-off-by: John L. Hammond
Reviewed-by: Andreas Dilger
Reviewed-by: Christopher J. Morrone
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
.../lustre/lustre/include/lustre/lustre_idl.h |
>-Original Message-
>From: Jim Davis [mailto:jim.ep...@gmail.com]
>Sent: Tuesday, December 31, 2013 1:02 AM
>To: linux-kernel@vger.kernel.org; Greg Kroah-Hartman;
>andreas.dil...@intel.com; Peng, Tao; sachin.ka...@linaro.org;
>de...@driverdev.osuosl.org
>Subject: r
On Wed, Dec 11, 2013 at 10:32 AM, Greg Kroah-Hartman
wrote:
> On Mon, Dec 09, 2013 at 10:56:58PM +0800, Peng Tao wrote:
>> From: Lai Siyao
>>
>> Mnt root dentry will never be revalidated, but its d_op->d_compare
>> will be called for its children, to simplify code,
Reviewed-by: Andreas Dilger
Reviewed-by: Jinshan Xiong
[Fix up kuid_t/guid_t conversion in llite/file.c -- Peng Tao]
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
.../lustre/lustre/include/lustre/lustre_user.h | 17 ++-
drivers/staging/lustre/lustre/llite/file.c | 118
These macros are only used on server side.
Cc: Andreas Dilger
Signed-off-by: Peng Tao
---
drivers/staging/lustre/lustre/include/lustre_net.h | 234
1 file changed, 234 deletions(-)
diff --git a/drivers/staging/lustre/lustre/include/lustre_net.h
b/drivers/staging/lustre
eviewed-by: Andreas Dilger
Reviewed-by: Emoly Liu
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/include/lustre_cfg.h |2 +
.../staging/lustre/lustre/include/lustre_disk.h|2 +
drivers/staging/lustre/lustre/include/obd_class.h |9 +-
drive
rowse/LU-3486
Signed-off-by: Lai Siyao
Reviewed-by: James Simmons
Reviewed-by: Peng Tao
Reviewed-by: Bobi Jam
Reviewed-by: Fan Yong
Reviewed-by: Alexey Shvetsov
Reviewed-by: Oleg Drokin
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/llite/dcache.c
leg Drokin
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/llite/dir.c | 23 ++-
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/lustre/lustre/llite/dir.c
b/drivers/staging/lustre/lustre/llite/d
: JC Lafoucriere
Signed-off-by: Henri Doreau
Reviewed-by: John L. Hammond
Reviewed-by: Andreas Dilger
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
.../lustre/lustre/include/lustre/lustre_user.h |6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/staging/lustre
: Andreas Dilger
[pick client side of change. target is mostly server side code -- PengTao]
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/mdc/mdc_request.c | 32 +--
1 file changed, 1 insertion(+), 31 deletions(-)
diff --git a/drivers
https://jira.hpdd.intel.com/browse/LU-1715
Lustre-change: http://review.whamcloud.com/3553
Signed-off-by: Andriy Skulysh
Reviewed-by: Vitaly Fertman
Reviewed-by: Bruce Korb
Reviewed-by: Keith Mannthey
Reviewed-by: Oleg Drokin
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
.../lustre/lustre/include/l
Zhuravlev
Reviewed-by: wangdi
Reviewed-by: Oleg Drokin
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/include/lustre_fid.h |6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/staging/lustre/lustre/include/lustre_fid.h
b/drivers/staging
ug-id: https://jira.hpdd.intel.com/browse/LU-1606
Signed-off-by: Andreas Dilger
Signed-off-by: John L. Hammond
Reviewed-by: Andreas Dilger
Reviewed-by: Christopher J. Morrone
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
.../lustre/lustre/include/lustre/lustre_idl.h |
com/5663
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2934
Signed-off-by: Doug Oucharek
Reviewed-by: Andreas Dilger
Reviewed-by: Amir Shehata
Reviewed-by: Isaac Huang
Reviewed-by: Oleg Drokin
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
.../lustre/include/linux/lib
-off-by: Lai Siyao
Reviewed-by: James Simmons
Reviewed-by: Peng Tao
Reviewed-by: Bobi Jam
Reviewed-by: Fan Yong
Reviewed-by: Alexey Shvetsov
Reviewed-by: Oleg Drokin
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/llite/namei.c |6 +-
1 file
Liu
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
.../staging/lustre/lustre/obdclass/obd_config.c|4
1 file changed, 4 deletions(-)
diff --git a/drivers/staging/lustre/lustre/obdclass/obd_config.c
b/drivers/staging/lustre/lustre/obdclass/obd_config.c
index 27f56c0
only files
Mikhail Pershin (2):
staging/lustre/target: move OUT to the unified target code
staging/lustre/seq: remove seq_{query,handle}
Peng Tao (1):
staging/lustre: remove server macros from lustre_net.h
.../lustre/include/linux/libcfs/libcfs_ioctl.h |1 +
.../staging/lustre/in
licit declaration
of function ‘obd_update_maxusage’
The patch defines following symbols when CONFIG_PROC_FS is off:
fld_type_proc_dir, obd_update_maxusage(), obd_max_pages, obd_max_alloc,
obd_alloc,
obd_pages, lprocfs_llog_test_init_vars().
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
dr
lared
identifier is reported only once for each function it appears in
It was introduced by 7fc1f83 (staging/lustre/llite: extended attribute cache)
that added new reference but didn't take care of CONFIG_FS_POSIX_ACL.
Reported-by: Fengguang Wu
Cc: Andreas Dilger
Signed-off-by: Peng Tao
--
needs to be fixed in a separate patch because it is not related to
CONFIG_PROC_FS breakage here.
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/fid/Makefile |3 +-
drivers/staging/lustre/lustre/fid/lproc_fid.c |2 -
drivers/staging/lustre
It exactly copies generic_segment_checks() except wrongly calling
access_ok(VERIFY_READ) for aio read range. Drop it and just call
generic_segment_checks() instead.
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/llite/file.c | 36
Hi Greg,
Patch 1 is added because there is a newly introduced (7fc1f83) error
when CONFIG_FS_POSIX_ACL is off.
Patch 2 is updated to fix build errors in itself.
Please see if they can be merged. Thanks and sorry for the noise.
Thanks,
Tao
Cc: Andreas Dilger
Peng Tao (4):
staging/lustre
On 12/04/2013 01:00 AM, Greg Kroah-Hartman wrote:
On Tue, Dec 03, 2013 at 10:42:06PM +0800, Peng Tao wrote:
It exactly copies generic_segment_checks() except wrongly calling
access_ok(VERIFY_READ) for aio read range. Drop it and just call
generic_segment_checks() instead.
Signed-off-by: Peng
No need to surround them with #ifdef LPROCFS.
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/obdclass/class_obd.c |4 ++--
drivers/staging/lustre/lustre/obdclass/genops.c|3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/include/lustre_dlm.h |3 ++-
drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c|2 --
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/lustre/lustre/include
68:20: warning:
‘lnet_table’ defined but not used [-Wunused-variable]
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lnet/lnet/router_proc.c |4
.../lustre/lustre/libcfs/linux/linux-proc.c|8
2 files changed, 12 deletions(-)
licit declaration
of function ‘obd_update_maxusage’
The patch defines following symbols when CONFIG_PROC_FS is off:
fld_type_proc_dir, obd_update_maxusage(), obd_max_pages, obd_max_alloc,
obd_alloc,
obd_pages, lprocfs_llog_test_init_vars().
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
dr
licit declaration
of function ‘obd_update_maxusage’
The patch defines following symbols when CONFIG_PROC_FS is off:
fld_type_proc_dir, obd_update_maxusage(), obd_max_pages, obd_max_alloc,
obd_alloc,
obd_pages, lprocfs_llog_test_init_vars().
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
dr
It is not strictly related to procfs. Besides, we already call obd_sysctl_clean
outside of class_procfs_clean.
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/obdclass/class_obd.c |3 +++
.../lustre/lustre/obdclass/linux/linux-module.c|1 -
2
It is not strictly related to procfs. Besides, we already call obd_sysctl_clean
outside of class_procfs_clean.
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/obdclass/class_obd.c |3 +++
.../lustre/lustre/obdclass/linux/linux-module.c|1 -
2
needs to be fixed in a separate patch because it is not related to
CONFIG_PROC_FS breakage here.
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/fid/Makefile |3 +-
drivers/staging/lustre/lustre/fid/lproc_fid.c |2 -
drivers/staging/lustre
It exactly copies generic_segment_checks() except wrongly calling
access_ok(VERIFY_READ) for aio read range. Drop it and just call
generic_segment_checks() instead.
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/llite/file.c | 36
tre/llite/file.c: In function 'll_file_aio_read':
drivers/staging/lustre/lustre/llite/file.c:1188:9: warning: 'count' may be used
uninitialized in this function [-Wuninitialized]
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/lli
Hi Greg,
Patch 1-7 are small cleanup and fixup.
Patch 8 and 9 fix build errors when CONFIG_PROC_FS is off.
Thanks,
Tao
Cc: Andreas Dilger
Peng Tao (9):
staging/lustre/obdclass: fix false used uninitialized warning
staging/lustre/obdclass: lprocfs_{alloc_stats,register} always defined
No need to surround them with #ifdef LPROCFS.
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/obdclass/class_obd.c |4 ++--
drivers/staging/lustre/lustre/obdclass/genops.c|3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a
: Peng Tao
Signed-off-by: Andreas Dilger
---
drivers/staging/lustre/lustre/obdclass/llog_test.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lustre/obdclass/llog_test.c
b/drivers/staging/lustre/lustre/obdclass/llog_test.c
index 178f89e..7427c12
It is not used.
Cc: Andreas Dilger
Signed-off-by: Peng Tao
---
drivers/staging/lustre/lustre/ptlrpc/wirehdr.c | 47
1 file changed, 47 deletions(-)
delete mode 100644 drivers/staging/lustre/lustre/ptlrpc/wirehdr.c
diff --git a/drivers/staging/lustre/lustre/ptlrpc
nction-declaration]
acl = posix_acl_dup(lli->lli_posix_acl);
Reported-by: Fengguang Wu
Cc: Andreas Dilger
Signed-off-by: Peng Tao
---
.../lustre/lustre/include/linux/lustre_acl.h | 18 +-
drivers/staging/lustre/lustre/include/lustre_mdc.h |9 +++--
Reviewed-by: Jinshan Xiong
Reviewed-by: Andreas Dilger
Reviewed-by: John L. Hammond
Reviewed-by: Oleg Drokin
Signed-off-by: Peng Tao
Signed-off-by: Andreas Dilger
---
.../lustre/lustre/include/lustre/lustre_user.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
ustre: make obd_uuid_equals return bool
Jinshan Xiong (1):
staging/lustre/hsm: Add hsm_release feature.
John L. Hammond (1):
staging/lustre/llite: don't check for O_CREAT in it_create_mode
Mikhail Pershin (1):
staging/lustre/llog: MGC to use OSD API for backup logs
Peng Tao (1):
Revert &qu
1 - 100 of 470 matches
Mail list logo