Searched hist:"26 bf3dc7e25b813ff5c92234f8165941fdc12a63" (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/fs/f2fs/ |
H A D | dir.c | diff 26bf3dc7e25b813ff5c92234f8165941fdc12a63 Wed May 20 00:26:54 CDT 2015 Jaegeuk Kim <jaegeuk@kernel.org> f2fs crypto: use per-inode tfm structure
This patch applies the following ext4 patch:
ext4 crypto: use per-inode tfm structure
As suggested by Herbert Xu, we shouldn't allocate a new tfm each time we read or write a page. Instead we can use a single tfm hanging off the inode's crypt_info structure for all of our encryption needs for that inode, since the tfm can be used by multiple crypto requests in parallel.
Also use cmpxchg() to avoid races that could result in crypt_info structure getting doubly allocated or doubly freed.
Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
H A D | namei.c | diff 26bf3dc7e25b813ff5c92234f8165941fdc12a63 Wed May 20 00:26:54 CDT 2015 Jaegeuk Kim <jaegeuk@kernel.org> f2fs crypto: use per-inode tfm structure
This patch applies the following ext4 patch:
ext4 crypto: use per-inode tfm structure
As suggested by Herbert Xu, we shouldn't allocate a new tfm each time we read or write a page. Instead we can use a single tfm hanging off the inode's crypt_info structure for all of our encryption needs for that inode, since the tfm can be used by multiple crypto requests in parallel.
Also use cmpxchg() to avoid races that could result in crypt_info structure getting doubly allocated or doubly freed.
Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
H A D | inode.c | diff 26bf3dc7e25b813ff5c92234f8165941fdc12a63 Wed May 20 00:26:54 CDT 2015 Jaegeuk Kim <jaegeuk@kernel.org> f2fs crypto: use per-inode tfm structure
This patch applies the following ext4 patch:
ext4 crypto: use per-inode tfm structure
As suggested by Herbert Xu, we shouldn't allocate a new tfm each time we read or write a page. Instead we can use a single tfm hanging off the inode's crypt_info structure for all of our encryption needs for that inode, since the tfm can be used by multiple crypto requests in parallel.
Also use cmpxchg() to avoid races that could result in crypt_info structure getting doubly allocated or doubly freed.
Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
H A D | super.c | diff 26bf3dc7e25b813ff5c92234f8165941fdc12a63 Wed May 20 00:26:54 CDT 2015 Jaegeuk Kim <jaegeuk@kernel.org> f2fs crypto: use per-inode tfm structure
This patch applies the following ext4 patch:
ext4 crypto: use per-inode tfm structure
As suggested by Herbert Xu, we shouldn't allocate a new tfm each time we read or write a page. Instead we can use a single tfm hanging off the inode's crypt_info structure for all of our encryption needs for that inode, since the tfm can be used by multiple crypto requests in parallel.
Also use cmpxchg() to avoid races that could result in crypt_info structure getting doubly allocated or doubly freed.
Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
H A D | f2fs.h | diff 26bf3dc7e25b813ff5c92234f8165941fdc12a63 Wed May 20 00:26:54 CDT 2015 Jaegeuk Kim <jaegeuk@kernel.org> f2fs crypto: use per-inode tfm structure
This patch applies the following ext4 patch:
ext4 crypto: use per-inode tfm structure
As suggested by Herbert Xu, we shouldn't allocate a new tfm each time we read or write a page. Instead we can use a single tfm hanging off the inode's crypt_info structure for all of our encryption needs for that inode, since the tfm can be used by multiple crypto requests in parallel.
Also use cmpxchg() to avoid races that could result in crypt_info structure getting doubly allocated or doubly freed.
Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|