target:tcmu:add '\n' when return user space
Quoted 11 lines · Mike Christie
Quoted 7 lines
Quoted 3 lines
Although minor, this is still a modification to a released API so probably can't be done without potentially breaking user-space.
I think the lack of newline is breaking some tools, because they were looking for newlines due to the other files having it.
I guess that does not make sense. It will be easier to update userspace and we would have to carry the userspcae patch for older kernels, so the patch is not needed.
Agreed. After getting burnt by 6baca7601bde I'm hesitant to make any changes to existing configFS attributes.
Cheers, David