[PATCH 0/2 V3] Allow access to sysfs attributes without mem allocations.

From: NeilBrown
Date: Mon Oct 13 2014 - 01:42:24 EST

Hi Greg,
please consider these two patches for a future release.
They now have
Reviewed-by: Tejun Heo <tj@xxxxxxxxxx>
and I've addressed Tejun's final nits.

Thanks Tejun for your review and comments.

As soon as they appear in an -rc1, I'll submit updates to md to use
the new functionality for the -rc2.



NeilBrown (2):
sysfs/kernfs: allow attributes to request write buffer be pre-allocated.
sysfs/kernfs: make read requests on pre-alloc files use the buffer.

fs/kernfs/file.c | 73 +++++++++++++++++++++++++++++++++---------------
fs/sysfs/file.c | 57 ++++++++++++++++++++++++++++++++-----
include/linux/kernfs.h | 8 +++++
include/linux/sysfs.h | 9 ++++++
4 files changed, 116 insertions(+), 31 deletions(-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/