[f2fs-dev] [PATCH] f2fs: fix endianness of on-disk summary_footer

2016-01-27 Thread Sheng Yong
Signed-off-by: Sheng Yong --- include/linux/f2fs_fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h index 25c6324..2863274 100644 --- a/include/linux/f2fs_fs.h +++ b/include/linux/f2fs_fs.h @@ -344,7 +344,7 @@ struct f2fs_sum

Re: [f2fs-dev] [PATCH 16/26] libceph: Use skcipher

2016-01-27 Thread Herbert Xu
On Mon, Jan 25, 2016 at 05:18:47PM +0100, Ilya Dryomov wrote: > > Could you get rid of ivsize instead of assigning to it - see the > attached diff? How about an incremental patch like this? Thanks! ---8<--- From: Ilya Dryomov Subject: libceph: Remove unnecessary ivsize variables This patch rem

Re: [f2fs-dev] [PATCH 15/26] Bluetooth: Use skcipher and hash

2016-01-27 Thread Marcel Holtmann
Hi Herbert, > This patch replaces uses of blkcipher with skcipher and the long > obsolete hash interface with shash. > > Signed-off-by: Herbert Xu Acked-by: Marcel Holtmann > --- > > net/bluetooth/smp.c | 135 > > 1 file changed, 63 inser

Re: [f2fs-dev] [PATCH 17/26] mac802154: Use skcipher

2016-01-27 Thread Stefan Schmidt
Hello. On 24/01/16 14:18, Herbert Xu wrote: > This patch replaces uses of blkcipher with skcipher. > > Signed-off-by: Herbert Xu > --- > > net/mac802154/llsec.c | 41 +++-- > net/mac802154/llsec.h |3 +-- > 2 files changed, 24 insertions(+), 20 d

Re: [f2fs-dev] [PATCH 25/26] sctp: Use shash

2016-01-27 Thread David Miller
From: Herbert Xu Date: Sun, 24 Jan 2016 21:20:12 +0800 > This patch replaces uses of the long obsolete hash interface with > shash. > > Signed-off-by: Herbert Xu Acked-by: David S. Miller -- Site24x7 APM Insight: Get

Re: [f2fs-dev] [PATCH 19/26] ipsec: Use skcipher and ahash when probing algorithms

2016-01-27 Thread David Miller
From: Herbert Xu Date: Sun, 24 Jan 2016 21:19:11 +0800 > This patch removes the last reference to hash and ablkcipher from > IPsec and replaces them with ahash and skcipher respectively. For > skcipher there is currently no difference at all, while for ahash > the current code is actually buggy

Re: [f2fs-dev] [dm-devel] [PATCH 22/26] iscsi_tcp: Use ahash

2016-01-27 Thread Mike Christie
On 01/24/2016 07:19 AM, Herbert Xu wrote: > This patch replaces uses of the long obsolete hash interface with > ahash. > > Signed-off-by: Herbert Xu > --- > > drivers/scsi/iscsi_tcp.c| 54 > ++-- > drivers/scsi/iscsi_tcp.h|4 +-- > drivers/

Re: [f2fs-dev] [PATCH 26/26] tcp: Use ahash

2016-01-27 Thread David Miller
From: Herbert Xu Date: Sun, 24 Jan 2016 21:20:23 +0800 > This patch replaces uses of the long obsolete hash interface with > ahash. > > Signed-off-by: Herbert Xu Acked-by: David S. Miller -- Site24x7 APM Insight: Get

[f2fs-dev] [v2 PATCH 9/26] eCryptfs: Use skcipher and shash

2016-01-27 Thread Herbert Xu
On Sun, Jan 24, 2016 at 07:10:50PM +0100, Julia Lawall wrote: > Maybe the goto on line 1726 needs a preceding mutex_unlock? Good catch! Thanks. ---8<--- This patch replaces uses of ablkcipher and blkcipher with skcipher, and the long obsolete hash interface with shash. Signed-off-by: Herbert Xu

Re: [f2fs-dev] [PATCH 16/26] libceph: Use skcipher

2016-01-27 Thread Herbert Xu
On Tue, Jan 26, 2016 at 12:29:57PM +0100, Ilya Dryomov wrote: > > LGTM. You want to take it through crypto? That's probably the easiest route since I'd like to take the first patch through cryptodev. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://g

Re: [f2fs-dev] [PATCH 16/26] libceph: Use skcipher

2016-01-27 Thread Ilya Dryomov
On Tue, Jan 26, 2016 at 11:54 AM, Herbert Xu wrote: > On Mon, Jan 25, 2016 at 05:18:47PM +0100, Ilya Dryomov wrote: >> >> Could you get rid of ivsize instead of assigning to it - see the >> attached diff? > > How about an incremental patch like this? Thanks! > > ---8<--- > From: Ilya Dryomov > Su

Re: [f2fs-dev] [PATCH] f2fs: remove vlist in extent node

2016-01-27 Thread Jaegeuk Kim
Hi Chao, On Thu, Jan 28, 2016 at 09:36:37AM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Thursday, January 28, 2016 5:38 AM > > To: Chao Yu > > Cc: linux-f2fs-devel@lists.sourceforge.net; linux-ker...@vger.kernel.

Re: [f2fs-dev] [PATCH] f2fs: remove vlist in extent node

2016-01-27 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Thursday, January 28, 2016 5:38 AM > To: Chao Yu > Cc: linux-f2fs-devel@lists.sourceforge.net; linux-ker...@vger.kernel.org > Subject: Re: [PATCH] f2fs: remove vlist in extent node > > Hi Chao, > > H

Re: [f2fs-dev] [PATCH] Introduce lifetime write IO statistics

2016-01-27 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Thursday, January 28, 2016 6:27 AM > To: Chao Yu > Cc: 'Shuoran'; linux-f2fs-devel@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH] Introduce lifetime write IO statistics > > Hi Chao, > > On Wed, Jan 27, 2

Re: [f2fs-dev] [PATCH] Introduce lifetime write IO statistics

2016-01-27 Thread Jaegeuk Kim
Hi Chao, On Wed, Jan 27, 2016 at 06:02:37PM +0800, Chao Yu wrote: > > -Original Message- > > From: Shuoran [mailto:liushuo...@huawei.com] > > Sent: Wednesday, January 27, 2016 3:40 PM > > To: Chao Yu > > Cc: jaeg...@kernel.org; linux-f2fs-devel@lists.sourceforge.net > > Subject: Re: [f2fs-

Re: [f2fs-dev] [PATCH] f2fs: remove vlist in extent node

2016-01-27 Thread Jaegeuk Kim
Hi Chao, Hmm. The original patch was just going under testing, and we couldn't post them since there is a kernel panic issue. This patch seems quite better approach, so I think we can integrate both of the patches together. So, how about this patch? Hope you don't mind this. Thanks, >From a7844

Re: [f2fs-dev] [PATCH] Introduce lifetime write IO statistics

2016-01-27 Thread Chao Yu
On 1/27/16 6:02 PM, Chao Yu wrote: > IMO, maybe it's better to use journal log in data segments to store data -> node > checkpoint related data, maybe more nats/sits entries. > > And another thing is I'm in doubt that whether it is enough to use cp + > data journal to update stat, since abnormal

[f2fs-dev] [PATCH] f2fs: remove vlist in extent node

2016-01-27 Thread Chao Yu
For speeding up shrinking extent nodes from lru list, we introduced additional list node named 'vlist' for each extent node, in order to link them into victim list and then do the shrink job by traversing the list, but it makes memory footprint overhead for extent cache. We change the policy of lr

Re: [f2fs-dev] [PATCH] Introduce lifetime write IO statistics

2016-01-27 Thread Chao Yu
> -Original Message- > From: Shuoran [mailto:liushuo...@huawei.com] > Sent: Wednesday, January 27, 2016 3:40 PM > To: Chao Yu > Cc: jaeg...@kernel.org; linux-f2fs-devel@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH] Introduce lifetime write IO statistics > > On 2016/1/27 15:20, Ch