]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: drop the obsolete comment on filestream locking
authorGao Xiang <hsiangkao@redhat.com>
Wed, 23 Sep 2020 16:26:31 +0000 (09:26 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 25 Sep 2020 18:34:08 +0000 (11:34 -0700)
commit88b465e5d8726b035cb88442e7669be77042cfa9
tree446ac2c3a9e7cbac72a524c7df3816b649a5cdba
parent8f2930e1fd6706aeae540296319a03f852a5b6e4
xfs: drop the obsolete comment on filestream locking

Since commit 8f28a0dbe7e ("xfs: Replace per-ag array with a radix
tree"), there is no m_peraglock anymore, so it's hard to understand
the described situation since per-ag is no longer an array and no
need to reallocate, call xfs_filestream_flush() in growfs.

In addition, the race condition for shrink feature is quite confusing
to me currently as well. Get rid of it instead.

Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_filestream.c